pjs.editFloat()

 

Convert the value of a numeric expression to the character external display representation of float.

Parameters
  1. 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()