This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

Fb editor division decimals.
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. 


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)
Did you use floating object as an output?

Forum Jump: