JCL Help:Digits

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the number of digits in a given positive integer.


Pascal

 function Digits(const X: Cardinal): Integer;


Parameters

Parameters Description
const X: Cardinal The value for which you want to know how many digits it has.


Return Value

The number of digits in the specified value.


Description

Returns the number of digits in a given positive integer.


See Also

BitsNeeded


About

Unit

JclLogic


Donator

ESB Consultancy


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page