Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Textbox format for display sql

Questions related to using nuBuilder Forte.
Post Reply
acroporax
Posts: 42
Joined: Thu Apr 21, 2022 3:04 pm
Has thanked: 5 times
Been thanked: 1 time

Textbox format for display sql

Unread post by acroporax »

Hi,

I have a display object and I am getting data with sql. but I can't format the output. How can i format numbers.

Result :10285760.0000
I want : 10.285.760
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Textbox format for display sql

Unread post by kev1n »

Give this a go:

Code: Select all

SELECT SUBSTRING_INDEX(FORMAT ('10285760.0000', 3),'.',1);
Of course, replace '10285760.0000' with your column name.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Textbox format for display sql

Unread post by kev1n »

Is this solved or do you still need our support?
Post Reply