Documentation

Integer
in package

Integer class.

Table of Contents

formatToDb()  : int
Convert number to format for database.
formatToDisplay()  : string
Function to display number in user format.

Methods

formatToDb()

Convert number to format for database.

public static formatToDb(string|null $value) : int
Parameters
$value : string|null
Return values
int

formatToDisplay()

Function to display number in user format.

public static formatToDisplay(string|null $value) : string
Parameters
$value : string|null
Return values
string

        

Search results