format integer |
Pas2JS pascal source code
procedure SetXY(const AX, AY, AValue: Integer); begin WriteLn(Format('X = %d, Y = %d, Value = %d', [AX, AY, AValue])); end; SetXY(100, 100, StrToInt('12')); {<<< RESULT - CONSOLE LOG >>> ----------------------------- X = 100, Y = 100, Value = 12 ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}