# Bin2Dec ( bin ; dmy )

Converts binary number to decimal number

Average rating: 4.1 (40 votes) Log in to vote

F. Osman Cabi - Show more from this author
Cabitas http://thefilemakerblog.blogspot.com/ |

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

This function converts binary number to decimal number by the help of recursive function feature of FileMaker Pro. The parameter dmy must be blank or zero for initial condition.

Syntax:Bin2Dec ( binaryNumField ; "" ) or

Syntax:Bin2Dec ( 1010111 ; 0 )

## Comments

ashan, sri lanka Apr 26, 2015 |
||

123 | ||

John Segers May 9, 2019 |
||

Thanks a lot for your function because I am terrible at recursions. I want to use this functions to check a puzzle for errors. My Question is... | ||

John Segers May 9, 2019 |
||

Thanks a lot for your function because I am terrible at recursions. I want to use this functions to check a puzzle for errors. My Question is... Is it true that you only get the same decimal output if the binairy input is the same? I think it is because the only way to get 5 is if you write 101 but is that also true for larger numbers? | ||

John Segers May 9, 2019 |
||

Oh and I don't understand what dmy means so what is its function? | ||

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