Re: How to convert float to sortable integer in Python

2007-01-16 Thread shellon
conver the floating point number to integer first, and than convert the integer to sortable string? so How to convert a ieee 754 floating point to raw bits like the java api floatToRawBits do? Appreciate your help! Steven D'Aprano wrote: > On Tue, 16 Jan 2007 01:21:52 -0800, shellon

How to convert float to sortable integer in Python

2007-01-16 Thread shellon
Hi all: I want to convert the float number to sortable integer, like the function float2rawInt() in java, but I don't know the internal expression of float, appreciate your help! -- http://mail.python.org/mailman/listinfo/python-list