Matrix1 Utility Plug-ins

BASE TO DECIMAL


Syntax

Double Integer = BASE TO DECIMAL( Original Value String, Original Number Base )

Description

This function will take a string containing a number in any number base from 2 to 36 and convert it to its decimal value as an integer.

If you specify an Original Number Base of 0, then the number will be converted as follows:
- If it starts with 0x or 0X, it is hexadecimal
- If it starts with %, it is binary
- If it starts with 0, it is octal
- Otherwise, it is decimal.

Go back to ...

Matrix1Util_07 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011