struct

Gary Herron gherron at islandtraining.com
Wed May 19 18:07:41 EDT 2010


On 05/19/2010 02:53 PM, Back9 wrote:
> Can anyone explain the difference between f and d in struct unpack?
> When using them, some data work in either one not both.
> To me it seems to be same,
>
> TIA
>    

'f' is single precision float (32 bits), and
'd'  is a double precision float (64 bits)

Gary Herron




More information about the Python-list mailing list