good morning,
prodoundjs installed on linux pc, is it possible to indicate the use of the decimal comma instead of the decimal period ?
thanks!
danilo
decimal field, comma vs period
-
- New User
- Posts: 12
- Joined: Fri Oct 20, 2017 6:22 am
- First Name: danilo
- Last Name: pifferetti
- Company Name: pifferetti danilo
- Contact:
- Emily
- Profound Logic Staff Member
- Posts: 89
- Joined: Tue Jun 21, 2016 8:30 am
- First Name: Emily
- Last Name: Seage
- Company Name: Profound Logic
- Contact:
Re: decimal field, comma vs period
Hi Danilo,
Currently, there is no way to change the decimal format for Profound.js to use a comma instead of a period. However, our developers are currently working on a fix for this that should be available in the next release of Profound.js. In the next release, the decimal format will either come from the decimal format that is set for the Genie job (if you're running inside of Genie), or you will be able to configure the decimal format in the config.js file of your Profound.js instance and this format will be used if you are running outside of Genie.
I hope that this helps! Please let me know if you have any other questions about this.
--Emily
Currently, there is no way to change the decimal format for Profound.js to use a comma instead of a period. However, our developers are currently working on a fix for this that should be available in the next release of Profound.js. In the next release, the decimal format will either come from the decimal format that is set for the Genie job (if you're running inside of Genie), or you will be able to configure the decimal format in the config.js file of your Profound.js instance and this format will be used if you are running outside of Genie.
I hope that this helps! Please let me know if you have any other questions about this.
--Emily
Emily Seage
Support Team Lead
Support Team Lead
-
- New User
- Posts: 12
- Joined: Fri Oct 20, 2017 6:22 am
- First Name: danilo
- Last Name: pifferetti
- Company Name: pifferetti danilo
- Contact:
Re: decimal field, comma vs period
Good morning,
any news?
thanks
danilo
any news?
thanks
danilo
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: decimal field, comma vs period
Do they not work? Emily said in her earlier post (which was from February) that this would be available in the next release. We have had 16 releases of Profound.js since she posted that. So, unless she was mistaken, this has been available for many releases already.
did you try it?
did you try it?
-
- New User
- Posts: 12
- Joined: Fri Oct 20, 2017 6:22 am
- First Name: danilo
- Last Name: pifferetti
- Company Name: pifferetti danilo
- Contact:
Re: decimal field, comma vs period
in config.js (as esplained by Emily) i have not found any directive for the conversion comma-period
thanks
danilo
thanks
danilo
- Emily
- Profound Logic Staff Member
- Posts: 89
- Joined: Tue Jun 21, 2016 8:30 am
- First Name: Emily
- Last Name: Seage
- Company Name: Profound Logic
- Contact:
Re: decimal field, comma vs period
Hi Danilo,
My apologies, it seems as though this configuration option was not documented properly.
Please see the following documentation page: http://www.profoundlogic.com/docs/displ ... imalFormat. This should help with what you're wanting to accomplish.
If you aren't familiar with making changes to the config.js file, there is more information about this in our documentation as well: http://www.profoundlogic.com/docs/displ ... ation+File.
My apologies, it seems as though this configuration option was not documented properly.
Please see the following documentation page: http://www.profoundlogic.com/docs/displ ... imalFormat. This should help with what you're wanting to accomplish.
If you aren't familiar with making changes to the config.js file, there is more information about this in our documentation as well: http://www.profoundlogic.com/docs/displ ... ation+File.
Emily Seage
Support Team Lead
Support Team Lead
-
- New User
- Posts: 12
- Joined: Fri Oct 20, 2017 6:22 am
- First Name: danilo
- Last Name: pifferetti
- Company Name: pifferetti danilo
- Contact:
Re: decimal field, comma vs period
Hi Emily,
I added the "decimalFormat" entry in config.js, But seems do anything.
Example: input field with length 10 and 2 decimal with value 1234.12 - both with and without the entry "decimalFormat" the result is always with the period ...
I run profoundjs on windows machine and (for test) without any connection to IBMi
thanks in advance
Danilo
I added the "decimalFormat" entry in config.js, But seems do anything.
Example: input field with length 10 and 2 decimal with value 1234.12 - both with and without the entry "decimalFormat" the result is always with the period ...
I run profoundjs on windows machine and (for test) without any connection to IBMi
thanks in advance
Danilo
-
- New User
- Posts: 12
- Joined: Fri Oct 20, 2017 6:22 am
- First Name: danilo
- Last Name: pifferetti
- Company Name: pifferetti danilo
- Contact:
Re: decimal field, comma vs period
Hi,
I found a work around:
in designer, i make a form with onLoad:
pui.appJob.decimalFormat = 'J';
pui.click ();
in js, after pjs.defineDisplay ('wrkstn', ...)
wrkstn.form.execute ();
now decimalFormat is in european mode ( , for decimal)
I hope that the possibility of using config.js in the same way is fixed.
regards
Danilo
I found a work around:
in designer, i make a form with onLoad:
pui.appJob.decimalFormat = 'J';
pui.click ();
in js, after pjs.defineDisplay ('wrkstn', ...)
wrkstn.form.execute ();
now decimalFormat is in european mode ( , for decimal)
I hope that the possibility of using config.js in the same way is fixed.
regards
Danilo
Who is online
Users browsing this forum: No registered users and 7 guests