I created a user parameter called Power, units are in W (Watts), equation is 125 kW, nominal value field correctly shows 125000.00.
In iLogic I have this formula:
If Not Power = 0 Then
If Power < 1000 Then
strPower = Power & " W"
Else
strPower = LTrim(Str(Power/1000)) & " kW"
End If
Else
strPower = "N/A"
End If
I then pass strPower to custom iProperties.
For some reason iProperties is showing it as 427146.459025273 kW
Does iLogic convert Watts into something else when it reads the parameter?
If so does anyone know how to get around this?
Note: I'm doing the same thing with Frequency (Hz) and it shows correctly.
I did some tinkering and found out what it's doing is converting Volts into something. More specifically it's converting 1 Volt into 3.4171716220218 Somethings.
It's really just more of a nuisence now than anything, since I just did a work around equation with an extra variable. But I still want to know what/why it's converting it to the "Somethings."
Any insight would be appreciated,
Thanks