PHP » GoLang |
login |
register |
about
|
GoLang IntlChar::digit
request it (381)
GoLang replacement for PHP's IntlChar::digit
[edit | history]
IntlChar::digit(PHP 7) IntlChar::digit — Get the decimal digit value of a code point for a given radix Description
public static int IntlChar::digit
( string
$codepoint
[, int $radix = 10
] )Returns the decimal digit value of the code point in the specified radix.
If the radix is not in the range 2<=radix<=36 or if the value of
ParametersReturn Values
Returns the numeric value represented by the character in the specified radix,
or Warning
This function may
return Boolean ExamplesExample #1 Testing different code points
<?php The above example will output: int(0) int(3) bool(false) int(10) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|