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
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Textbox format for display sql
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Textbox format for display sql
Give this a go:
Of course, replace '10285760.0000' with your column name.
Code: Select all
SELECT SUBSTRING_INDEX(FORMAT ('10285760.0000', 3),'.',1);
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact: