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/05/06 11:55]
jeff
uphp:functions:strval [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====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> 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> 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>
Line 25: Line 21:
 <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> <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()]] - <html>Format a <b><span style="color:green">string<span style="color:black"></b> using the format specified using the passed parameters and return a <b><span style="color:green">string<span style="color:black"></b></html>+[[sprintf()]] - Return a formatted <html><b><span style="color:green">string</b></html>
  
-[[strftime()]] - Format a Linux timestamp using a format <html><b><span style="color:green">string</b></html>+[[strftime()]] - Format a Linux Timestamp using a format <html><b><span style="color:green">string</b></html>
  
 ====See Also==== ====See Also====
uphp/functions/strval.1494071718.txt.gz · Last modified: 2021/09/13 05:56 (external edit)