Any2Dec

Converts a number of any base to decimal.
Hexa to decimal, octa to decimal, binary, etc.

CodeFunctionName What is this?

Public

Tested

Imported

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Bold.codes

Linkedin Login

ByVal ConvertNumber As String, Optional ByVal base As Integer = 16

Example    Any2Dec("4F320D") =
Any2Dec("010001", 2) =
Any2Dec("012401", 5) =
Any2Dec("20180828", 10) = 20180828

Views 217

Downloads 115

CodeID
DB ID

ANmarAmdeen
701
Attachments
Revisions

v2.0

Wednesday
October
11
2023