Spec-Zone.ru › Haxe

Float

no package

Available on all platforms

The standard Float type, this is a double-precision IEEE 64bit float.

On static targets, null cannot be assigned to Float. If this is necessary, Null<Float> can be used instead.

Std.int converts a Float to an Int, rounded towards 0. Std.parseFloat converts a String to a Float.

See also:

  • https://haxe.org/manual/types-basic-types.html
  • https://haxe.org/manual/types-nullability.html

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/Float.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API