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.

Custom Number Format

Questions related to using nuBuilder Forte.
Post Reply
Uzlander
Posts: 60
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 9 times
Been thanked: 3 times

Custom Number Format

Unread post by Uzlander »

Can anbody help me or direct to some solution, the numbers going to be mostly large (6+ figures, local currecy unit's feature) so the best looking format (to me) is space (just empty space, let it take space of say 2/3 of a regular character).
I think it would be great to add this option to nuNumber formats to pick, but for now some possibly css/js workaround would help me.
Many Thanks))
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Custom Number Format

Unread post by kev1n »

Hi,

Do the numbers only need to be displayed, or should they also be editable/changeable by the user?
Uzlander
Posts: 60
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 9 times
Been thanked: 3 times

Re: Custom Number Format

Unread post by Uzlander »

editable numbers, also calculable too when needed
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Custom Number Format

Unread post by kev1n »

I need to think about whether and how to implement a custom number and possibly date format. In other words, one could define a custom format, and then a JavaScript function would handle the formatting.
Uzlander
Posts: 60
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 9 times
Been thanked: 3 times

Re: Custom Number Format

Unread post by Uzlander »

In my modest understanding, the other 'nuNumber' formats existing are just strings at the base with javascript to handle their transformation & make them work as true numbers.
So i thought it wouldn't be much of headache to add space to the stack. I admit i might be wrong :)
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Custom Number Format

Unread post by kev1n »

Can't you just create a number format with a space as separator?
Post Reply