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.
#1
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
   
Reply
#2
Hi
Did you use floating object as an output?
BR
Reply


Forum Jump: