You need an RoundUp function for that. one way of doing that is:
$input = 7.00004374
ConsoleWrite(_RoundUp( $input, 0) & @CRLF)
ConsoleWrite(_RoundUp( $input, 1) & @CRLF)
ConsoleWrite(_RoundUp( $input, 2) & @CRLF)
ConsoleWrite(_RoundUp( $input, 3) & @CRLF)
ConsoleWrite(_RoundUp( $input, 4) & @CRLF)
ConsoleWrite(_RoundUp( $input, 5) & @CRLF)
ConsoleWrite(_RoundUp( $input, 6) & @CRLF)
ConsoleWrite(_RoundUp( $input, 7) & @CRLF)
ConsoleWrite(_RoundUp( $input, 8) & @CRLF)
ConsoleWrite(_RoundUp( $input, 9) & @CRLF)
ConsoleWrite(_RoundUp( $input, 10) & @CRLF)
Func _RoundUp( $iValue, $iDec)
$oValue = Round($iValue,$iDec)
If $oValue < $iValue Then
$oValue = Round($iValue + (0.5 / (10 ^ $idec)),$iDec)
EndIf
return $oValue
EndFunc
result:
8
7.1
7.01
7.001
7.0001
7.00005
7.000044
7.0000438
7.00004374
7.00004374
7.00004374
Jos