Brian Dunning's FileMaker Custom Functions

Float32toBinary ( float )

Convert a decimal number to float32 (IEEE-754) binary format.

  Average rating: 4.6 (14 votes) Log in to vote

Jake DeGroot   Jake DeGroot - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
Float32toBinary ( 25 )
Float32toBinary ( 1 )
Float32toBinary ( -.25 )
Float32toBinary ( 4.765 )
Float32toBinary ( -153.22586 )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Requires BaseConvert ( and FracDecToBin (



Arjen van Dijk   Arjen van Dijk, The Netherlands
Jun 26, 2018
I found something strange two different inputs have the same result, where i think the second one is wrong :
1) Hex C2B60000 > Bin 11000010101101100000000000000000 > Dec -91
2) Hex C11FFFFC > Bin 11000001000111111111111111111100 > Dec -91 But must be -10 !!

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.