pjs.editFloat()
Â
Convert the value of a numeric expression to the character external display representation of float.
Parameters
Numeric Expression
Example
pjs.define("f1", { type: 'float', length: 8 });
pjs.define("c1", { type: 'char', length: 40, varying: true });
f1 = 50000;
c1 = pjs.editFloat(f1 - 4E4);
return c1;Â
//"+1.000000000000000E+004"
RPG EquivalentÂ
%EDITFLT()