User Tools

Site Tools


uphp:functions:strval

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:strval [2017/04/10 14:01]
jeff
uphp:functions:strval [2021/09/13 05:57] (current)
Line 3: Line 3:
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Return the <html><b><span style="color:green">string<span style="color:black"></b></html> equivalent of a <html><b><span style="color:green">number<span style="color:black"></b></html>+<html>Return the <b><span style="color:green">string<span style="color:black"></b> equivalent of a <b><span style="color:green">number<span style="color:black"></b></html>
  
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">string <span style="font-size:125%;color:green">string
-<span style="color:black"> +<span style="color:black">strval ( 
-</html> +<span style="color:green">mixed
-[[strval]] +
-<html><span style="color:green">mixed+
 <span style="color:blue">$value <span style="color:blue">$value
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
-Type cast an <html><b><span style="color:green">integer<span style="color:black"></b></html> or <html><b><span style="color:green">float<span style="color:black"></b></html> variable into a <html><b><span style="color:green">string<span style="color:black"></b></html> variable+Type cast an <html><b><span style="color:green">integer<span style="color:black"></b> or <b><span style="color:green">float<span style="color:black"></b> variable into a <b><span style="color:green">string<span style="color:black"></b> variable</html>
  
 ====Parameter==== ====Parameter====
  
-<html><b><span style="color:blue">$value<span style="color:black"></b></html>:  A <html><b><span style="color:green">number<span style="color:black"></b></html> (<html><b><span style="color:green">int<span style="color:black"></b></html> or <html><b><span style="color:green">float<span style="color:black"></b></html>)+<html><b><span style="color:blue">$value<span style="color:black"></b>:  A <b><span style="color:green">number<span style="color:black"></b> (<b><span style="color:green">int<span style="color:black"></b> or <b><span style="color:green">float<span style="color:black"></b>)</html>
  
-====Return Value====+====Return Values====
  
 ^<html><span style="color:blue"><b>$value<span style="color:black"> TYPE</html>^RETURN VALUE^ ^<html><span style="color:blue"><b>$value<span style="color:black"> TYPE</html>^RETURN VALUE^
Line 75: Line 71:
 [[print(f)]] - Print a formatted <html><b><span style="color:green">string<span style="color:black"></b></html> to standard output [[print(f)]] - Print a formatted <html><b><span style="color:green">string<span style="color:black"></b></html> to standard output
  
-[[sprintf()]] - Format a <html><b><span style="color:green">string<span style="color:black"></b></html> using the format specified using the passed parameters and return a <html><b><span style="color:green">string<span style="color:black"></b></html>+[[sprintf()]] - Return formatted <html><b><span style="color:green">string</b></html>
  
-[[strftime()]] - Format the passed time using the format <html><b><span style="color:green">string<span style="color:black"></b></html>+[[strftime()]] - Format a Linux Timestamp using format <html><b><span style="color:green">string</b></html>
  
 ====See Also==== ====See Also====
  
-[[intval()]] - Return the <html><b><span style="color:green">integer<span style="color:black"></b></html> value of a <html><b><span style="color:green">number<span style="color:black"></b></html> or <html><b><span style="color:green">string<span style="color:black"></b></html>+[[intval()]] - <html>Return the <b><span style="color:green">integer<span style="color:black"></b> value of a <b><span style="color:green">number<span style="color:black"></b> or <b><span style="color:green">string<span style="color:black"></b></html>
  
-[[floatval()]] - Return the <html><b><span style="color:green">float<span style="color:black"></b></html> value of a <html><b><span style="color:green">number<span style="color:black"></b></html> or <html><b><span style="color:green">string<span style="color:black"></b></html>+[[floatval()]] - <html>Return the <b><span style="color:green">float<span style="color:black"></b> value of a <b><span style="color:green">number<span style="color:black"></b> or <b><span style="color:green">string<span style="color:black"></b></html>
  
-[[is_numeric()]] - Check if a value is numeric (<html><b><span style="color:green">int<span style="color:black"></b></html>, <html><b><span style="color:green">float<span style="color:black"></b></html> or numeric <html><b><span style="color:green">string<span style="color:black"></b></html>)+[[is_numeric()]] - <html>Check if a value is numeric (<b><span style="color:green">int<span style="color:black"></b>, <b><span style="color:green">float<span style="color:black"></b> or numeric <b><span style="color:green">string<span style="color:black"></b>)</html>
  
 [[uphp:variables|uPHP Variable Types and Limits]] [[uphp:variables|uPHP Variable Types and Limits]]
  
uphp/functions/strval.1491832892.txt.gz · Last modified: 2021/09/13 05:56 (external edit)