[Bioperl-l] perl question

Spiros Denaxas spiros at lokku.com
Mon Nov 5 07:36:36 EST 2007


use the `sprintf` function. More information can be found at ,

For more proper rounding, you could use the Math::Round module,

hope this helps,

On 11/5/07, neeti somaiya <neetisomaiya at gmail.com> wrote:
> Again a perl question, and maybe a very trivial one.
> How do I terminate a number like 3.1232010098 to only 3 decimal places in
> perl?
> --
> -Neeti
> Even my blood says, B positive
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

More information about the Bioperl-l mailing list