...
Convert the value of a numeric expression to the character external display representation of float.RPG Equivalent: %EDITFLT
Parameters
- Numeric Expression
Example
Code Block | ||
---|---|---|
| ||
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()