div |
div(num1: number, num2: number)
|
This function returns integer part of division result of num1 and num2 numbers. For example: div (10, 3) is equal to 3.
Returns :
number
|
mod |
mod(num1: number, num2: number)
|
This function return arithmetic mod result of two inputs as a integer.
Returns :
number
|
round | ||||||
round(x: number)
|
||||||
This function removes fraction part of the number if exists. So, for example, it will turn -145,455 to -145 and 145,455 to 145.
Parameters :
Returns :
number
|
persianLettersValidator | |||||||||||||||
persianLettersValidator(options: PLOptions, persianLetterService: PersianLetterService)
|
|||||||||||||||
Reactive form validator that checks form control value contains only persian letters and allowed characters in the options parameter.
Parameters :
Returns :
ValidatorFn
|
persianNumbersValidator | ||||||||
persianNumbersValidator(persianNumberService: PersianNumberService)
|
||||||||
Reactive form validator that checks form control value contains only persian numbers.
Parameters :
Returns :
ValidatorFn
|