Wrong decimal-sepearator - Forum - Rollbase - Progress Community

Wrong decimal-sepearator

 Forum

Wrong decimal-sepearator

  • Grid show 'dot' as decimal separator, even if the fields decimal-seprator is set to .comma'.

    Is there anyone else experiencing the same error?

     

  • Hi,

    Tested in 3.1.0.0 grid and it seems it displays comma - working as expected.

    1. Created a new Decimal field

    2. Set Decimal separator to Comma

    3. Place field to grid and try to enter a value

    4. Save, noticed in list view and edit of grid it displays e.g. 2 000,00

    Can you provide your steps to replicate if ever I missed something?

    Regards,

    Orchid

  • Hi,

    I too tried the same case in rollbase.com and it is working fine for me.

    Couple you please provide exact scenario where you found the issue?

    Thanks and Regards,

    Chandra.G

  • My setup is similar to what Orchid describes.

    But i use a calculation to set this field, ex:

    var calcpp=Math.round((antx*parseFloat(ppfactor)*100))/100;

    rbf_setGridValue2(0,"palletspace", radno, calcpp)

  • API rbf_setGridValue2() does not perform any additional formatting. It just sets value you provide to HTML text box. So if you need additional formatting (such as setting decimal separator) please add this formatting to your JavaScript.

  • Have you also tried creating another decimal field with comma as separator, and see if it has the same issue?

    Regards,

    Orchid