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!
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.
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
-
- 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
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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact: