paulkauz,
I have added more flexibility to the Format Builder...
The changes are on GitHub.
Please test it.
Steven
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.
swiss number format
Re: swiss number format
You do not have the required permissions to view the files attached to this post.
-
- Posts: 30
- Joined: Fri Oct 30, 2020 7:08 pm
Re: swiss number format
Hi Steven
Thanks so much. This is so cool. I‘ll try it this evening.
BR Paul
Thanks so much. This is so cool. I‘ll try it this evening.
BR Paul
If you like nuBuilder, please leave a review on SourceForge
Re: swiss number format
Paul,
I have updated the wiki too...
https://wiki.nubuilder.cloud/ ... at_Builder
You will need to run the Update Button as well.
Steven
I have updated the wiki too...
https://wiki.nubuilder.cloud/ ... at_Builder
You will need to run the Update Button as well.
Steven
-
- Posts: 30
- Joined: Fri Oct 30, 2020 7:08 pm
Re: swiss number format
Why does it show the undefined after the number. Do I have to set up something?
You do not have the required permissions to view the files attached to this post.
If you like nuBuilder, please leave a review on SourceForge
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
-
- Posts: 30
- Joined: Fri Oct 30, 2020 7:08 pm
Re: swiss number format
Bug Fix
Replace this line here : https://github.com/steven-copley/nubuil ... ss.js#L937
with these 2 lines:
var decimals = splitNumber.length == 1 ? '' : splitNumber[1];
return String(CF[0] + ' ' + nuAddThousandSpaces(splitNumber[0], CF[1]) + CF[2] + decimals).trim();
with thanks to kev1n !!
Replace this line here : https://github.com/steven-copley/nubuil ... ss.js#L937
with these 2 lines:
var decimals = splitNumber.length == 1 ? '' : splitNumber[1];
return String(CF[0] + ' ' + nuAddThousandSpaces(splitNumber[0], CF[1]) + CF[2] + decimals).trim();
with thanks to kev1n !!
If you like nuBuilder, please leave a review on SourceForge
Re: swiss number format
Thanks, everyone involved.
That fix is on Github.
Please test it.
I'll update Sourceforge when Sourceforge is back up and running.
Steven
That fix is on Github.
Please test it.
I'll update Sourceforge when Sourceforge is back up and running.
Steven