Hello, Since the latest releases, we can set decimal separator to be a comma (,) instead of a dot(.). However, when setting a comma as decimal parameter, some client-side AJAX based JavaScripts (rbf API) do not retreive decimals correctly. I have done the following tests:
// Test with rbf_selectValue : OK
function decimalTest1() {
rbf_selectValue("SELECT decimalField FROM objectName WHERE id=recordId", callbackFunction1)
function callbackFunction1(resultArray) {
alert(resultArray); // Prints 14.25 : OK
}
}
// Test with rbf_selectNumber : OK
function decimalTest2() {
rbf_selectNumber("SELECT decimalField FROM objectName WHERE id=recordId", callbackFunction2)
function callbackFunction2(resultNumber) {
alert(resultNumber); // Prints 14.25 : OK
}
}
// Test with rbf_getFields : NOT OK
function decimalTest3() {
rbf_getFields("objectName", recordId, "decimalField", callbackFunction3)
fu
I'll take a look, but cannot deliver fix sooner then March 2nd
That's ok for us !