# The BcMath\Number class

&reftitle.intro;

A class for an arbitrary precision number. These objects support overloaded arithmetic and comparison operators.

This class is not affected by the bcmath.scale INI directive set in &php.ini;.

The behavior of an overloaded operator is the same as specifying &null; for the `scale` parameter on the corresponding method.

&reftitle.classsynopsis;

         final
         readonly
         BcMath\Number

         implements
         Stringable

        &Properties;

         public
         string
         value

         public
         int
         scale

        &Methods;

&reftitle.properties;

`value`

- A string representation of an arbitrary precision number.

`scale`

- The scale value currently set on the object. For objects resulting from calculations, this value is automatically computed and set, unless the `scale` parameter was set in the calculation method.

&reference.bc.bcmath.entities.number;