# hooks-float-one-pure

Hooks can obtain XFL enclosing number 1 by calling the [float_one](https://xrpl-hooks.readme.io/v2.0/reference/float_one) function. Since the number never changes, a more efficient way is to use its precomputed value.

[Read more](https://xrpl-hooks.readme.io/v2.0/docs/floating-point-numbers-xfl)
