home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


fdiv

$

f


->fdiv(


nstr


[,


n


])

Returns $f divided by nstr to n places. If scale (the number of digits) is unspecified, division is computed to the number of digits given by:

max($div_scale, length(dividend)+length(divisor))


Previous: Reference: fcmp Perl in a Nutshell Next: Reference: ffround
Reference: fcmp Book Index Reference: ffround

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.