How to return fractional part from array of floats?

Sean Richards someone at
Mon Mar 10 10:01:53 CET 2003


The subject says it all. I have a Numeric array of type Float. How do I
return an array of the fractional parts of the Floats. I know I can
apply modf() to a single float but is there some function I am missing
that I can apply to a complete array?

Thanks,  Sean :)

| All spelling errors are intentional and are there to show new |
| and improved ways of spelling old words.                      |

More information about the Python-list mailing list