Publisher review:Significant Figures takes a number and a number of sigfigs to display it. This function takes a number and a number of sigfigs to display it to and does it.
You can specify an alternative decimal seperator to "." (i.e. ",") as the third argument and the fourth argument determines whether or not to round the last digit (the default is to round; send a NON-NULL value to prevent rounding).The simplest call is as follows:echo sigfigs($number,4);echo sigfigs(pi(),5);(The latter will show pi to 5sfbr />gt;
Significant Figures 1.1 is a PHP script for Snippets scripts design by kenguest.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Significant Figures takes a number and a number of sigfigs to display it.
Operating system:Windows / Linux / Mac OS / BSD / Solaris