Product Logo

CNS Image

Import, edit, and export Images in the FileMaker environment

Functions

CNSImage_DecToHex

NameCNSImage_DecToHex
Description

Returns the Hex representation of the Decimal number entered in the “Dec” parameter, optionally with leading-zeros depending on the “NumDigits” parameter.

Return TypeText (HexColor)
FormatCNSImage_DecToHex ( Dec ; NumDigits )
Required Parameters
Dec

The Decimal number to convert to Hexidecimal.

Optional Parameters
NumDigits

The minimum number of digits in the returned Hexidecimal number.

Example
Example 1

Returns 80.

CNSImage_DecToHex( 128 )