Diese werden intern als Bruch zweier Ganzzahlen variabler Länge ( Java Datentyp BigInteger ) dargestellt, die das Rechnen ohne jegliche Rundungsfehler ermöglicht.
Im folgenden Fall erzeugt die erste Eingabe eine Gleitkommazahl, die zweite eine exakte Zahl.
> > 10000000000000001. ans = 1.0E16 > > 10000000000000001 ans = 10000000000000001
webuser.fh-furtwangen.deThese numbers are internally represented as quotient of two variable length integers ( java datatype BigInteger ), which allows you to perform calculations without any rounding errors.
In the first case of the following example a floating point number is generated, in the second case an exact rational:
> > 10000000000000001. ans = 1.0E16 > > 10000000000000001 ans = 10000000000000001
webuser.fh-furtwangen.deparseFloat-Funktion
Gibt eine aus einer Zeichenfolge konvertierte Gleitkommazahl zurück.
Global
msdn.microsoft.comMöchtest du ein Wort, eine Phrase oder eine Übersetzung hinzufügen?
Sende uns gern einen neuen Eintrag.