How to convert float to sortable integer in Python

Steven D'Aprano steve at
Tue Jan 16 10:53:46 CET 2007

On Tue, 16 Jan 2007 01:21:52 -0800, shellon wrote:

> 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!

Google says:

Your search - float2rawInt - did not match any documents. 

Are you sure about that function? What's a sortable integer?


More information about the Python-list mailing list