Código Delphi [-]var Numero: Extended; Str: string; begin Numero := 3.1415926535897932385; System.Str(Numero:0:2, Str); Caption := Str; end;
var Numero: Extended; Str: string; begin Numero := 3.1415926535897932385; System.Str(Numero:0:2, Str); Caption := Str; end;
Código Delphi [-] Numero := Int(Numero * 100) / 100;
Numero := Int(Numero * 100) / 100;