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 that you accept 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


Messages In This Thread
Fb editor division decimals. - by Tokatubs - 27.05.2019, 19:18
RE: Fb editor division decimals. - by Daniel - 28.05.2019, 07:32

Forum Jump: