07-17-2022, 12:56 AM
CSNG
Code: (Select All)
' CSNG
proc SYSTEM_BUS_T.func_csng_float(value as float) as float
if ((value <= 3.402823466E38) and (value >= -3.402823466E38)) then
return value
end if
error(6)
return 0
end proc
proc SYSTEM_BUS_T.func_csng_double(value as double) as double
if ((value <= 3.402823466E38) and (value >= -3.402823466E38)) then
return value
end if
error(6)
return 0
end proc