Previous Document Next Document

Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.Dec


CorelScriptTools.Dec

Function Dec(Hex As String) As Long

Description

Member of CorelScriptTools

The Dec method returns the conversion of a hexadecimal value into decimal notation.

Parameter
Description
Hex
Represents a hexadecimal number

 
Decimal notation is a numerical system based on groups of ten units.
 
The highest value you can convert is 7FFFFFFF.
Example

In the following code example, x equals 2599.

x& = DEC("A27")

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.