tb0460.pp 365 B

123456789101112131415161718192021
  1. const
  2. MinCurrency : Currency = -922337203685477.5807;
  3. MaxCurrency : Currency = 922337203685477.5807;
  4. var
  5. s : string;
  6. begin
  7. str(MinCurrency:0:4,s);
  8. if s<>'-922337203685477.5807' then
  9. begin
  10. writeln(s);
  11. halt(1);
  12. end;
  13. str(MaxCurrency:0:4,s);
  14. if s<>'922337203685477.5807' then
  15. begin
  16. writeln(s);
  17. halt(1);
  18. end;
  19. end.