General downloads

Base Converter

Author
Joachim Carrein  
Category
General downloads
Date
21/11/2008
Size
5,1 KB
Downloads
821
MD5 digest
3030D1395892405598C0C5F95C785F72
Rating
32121
Popularity
Not yet downloaded in the last two weeks
What is it:
=======
This tool will convert a Base 10 number to another base

How it works:
========
Provide a number you wish to convert, the Base it must be converted too and the minimum length of the return

ConvertBase10ToBase(iIntNumber : Decimal;iIntToBase : Integer;iIntMinLength : Integer) rResult : Text[30]

Ex.
ConvertBase10ToBase(10,2,1) would return "1010"
ConvertBase10ToBase(10,2,5) would return "01010"
Download this file