This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:strval [2017/03/31 13:45] jeff |
uphp:functions:strval [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
- | Return the string equivalent of a number | + | < |
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | <span style=" | + | <span style=" |
- | < | + | <span style=" |
+ | <span style=" | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
</ | </ | ||
- | Type cast an integer or float variable into a string variable | + | Type cast an < |
====Parameter==== | ====Parameter==== | ||
- | < | + | <html><b>< |
- | ====Return | + | ====Return |
^< | ^< | ||
- | |< | + | |<html><b>< |
- | |< | + | |<html><b>< |
- | |< | + | |<html><b>< |
====Examples==== | ====Examples==== | ||
Line 64: | Line 65: | ||
====Note==== | ====Note==== | ||
- | This function performs no formatting on the returned value. If you are looking for a way to format a numeric value as a string, please see: | + | This function performs no formatting on the returned value. If you are looking for a way to format a numeric value as a < |
- | [[number_format()]] - Format the number with the specified number of digits of precision | + | [[number_format()]] - Format the < |
- | [[print(f)]] - Print a formatted string to standard output | + | [[print(f)]] - Print a formatted |
- | [[sprintf()]] - Format a string using the format specified using the passed parameters and return | + | [[sprintf()]] - Return |
- | [[strftime()]] - Format | + | [[strftime()]] - Format |
====See Also==== | ====See Also==== | ||
- | [[intval()]] - Return the integer value of a number or string | + | [[intval()]] - < |
- | [[floatval()]] - Return the floating point value of a number or string | + | [[floatval()]] - < |
- | [[is_numeric()]] - Return 1 if the value is numeric (integer, float or numeric string) | + | [[is_numeric()]] - < |
[[uphp: | [[uphp: | ||