Calculation won't work with digits when opened in browser
- January 8, 2025
- 2 replies
- 1029 views
I have a file with several calculations in - see attached file.
But one calculation works only partly - the field 'Intervalløn beregnet'.
The calculation-script is:
var q = getField("Aftalt timeløn").value;
var n = getField("Reguleringsprocent").value;
event.value = q*1924/n;
'Aftalt Timeløn' is a field that can be filled with a number, format is a number with two digits.
'Reguleringsprocent' is a field with a fixed numer, format number/no format, digit-seperater , or . (- none of these has made the soution for me)
The problem:
The file works fine in Adboe (at least at my pc)
The file works fine in browser (Chrome), as long as the number filled in has no digits.
The fault appears, if theres digits added in the number filled in - then the result just shows 'nan'
How can I get the field to work properly?
