...
Code Block | ||
---|---|---|
| ||
pjs.define("fl1f1", { type: 'float', length: 8 }); pjs.define("c1", { type: 'char', length: 40, varying: true }); fl1f1 = 50000; c1 = pjs.editFloat(fl1f1 - 4E4); return c1; //"+1.000000000000000E+004" |
RPG Equivalent
%EDITFLT()
...
Code Block | ||
---|---|---|
| ||
pjs.define("fl1f1", { type: 'float', length: 8 }); pjs.define("c1", { type: 'char', length: 40, varying: true }); fl1f1 = 50000; c1 = pjs.editFloat(fl1f1 - 4E4); return c1; //"+1.000000000000000E+004" |
RPG Equivalent
%EDITFLT()