\PhpOffice\PhpSpreadsheet\Calculation\EngineeringConvertBase

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
validateValue()
validatePlaces()
nbrConversionFormat()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

validateValue()

validateValue(mixed  $value, bool  $gnumericCheck = false) : string

Parameters

mixed $value
bool $gnumericCheck

Returns

string —

validatePlaces()

validatePlaces(mixed  $places = null) : ?int

Parameters

mixed $places

Returns

?int —

nbrConversionFormat()

nbrConversionFormat(string  $value, ?int  $places) : string

Formats a number base string value with leading zeroes.

Parameters

string $value

The "number" to pad

?int $places

The length that we want to pad this value

Returns

string —

The padded "number"