27.05.2019, 19:18
Getting a value in mA that i wanted to convert to A. But the value returns without decimals. Any idea how to get the decimals showing.
Code:
require('custom.fbeditor20.Math_basic')
functions_Math_basic_json_fbe_div_input_1 = event.getvalue()
functions_Math_basic_json_fbe_div_input_2 = 1000
out, err = fbe_div(functions_Math_basic_json_fbe_div_input_1, functions_Math_basic_json_fbe_div_input_2, 'fb__Str__mtrekk__fbe_div__id')
if out ~= nil then
grp.write('14/1/4', out)
end