# ::hwat::math::IfEqual

Check the equality of two float numbers.

## Syntax

::hwat::math::IfEqual d_f1 d_f2 d_err

## Arguments

`d_f1`- The first float number.
`d_f2`- The second float number.
`d_err`- The error for judging the equality.

## Returns

- Success
- 1 if
`d_f1`equals`d_f2` - Failure
- 0 if
`d_f1`does not equal`d_f2`.

## Example

`::hwat::math::IfEqual $x $y 1.0e-5`

## Comments

The default error for judging the equality is 1.0e-6.