CCur Function

แƒ’แƒแƒ“แƒแƒงแƒแƒ•แƒก แƒกแƒขแƒ แƒ˜แƒœแƒ’แƒฃแƒšแƒ˜ แƒแƒœ แƒ แƒ˜แƒชแƒฎแƒ•แƒ˜แƒ—แƒ˜ แƒ’แƒแƒ›แƒแƒกแƒแƒฎแƒฃแƒšแƒ”แƒ‘แƒ แƒ•แƒแƒšแƒฃแƒขแƒ˜แƒก แƒ’แƒแƒ›แƒแƒกแƒแƒฎแƒฃแƒšแƒ”แƒ‘แƒแƒจแƒ˜. แƒšแƒแƒ™แƒแƒšแƒฃแƒ แƒ˜ แƒžแƒแƒ แƒแƒ›แƒ”แƒขแƒ แƒ˜แƒ”แƒ‘แƒ˜ แƒ’แƒแƒ›แƒแƒ˜แƒงแƒ”แƒœแƒ”แƒ‘แƒ แƒ›แƒ”แƒแƒ—แƒ”แƒ“แƒ˜แƒก แƒ’แƒแƒ›แƒแƒ›แƒงแƒแƒคแƒ˜แƒกแƒ แƒ“แƒ แƒ•แƒแƒšแƒฃแƒขแƒ˜แƒก แƒกแƒ˜แƒ›แƒ‘แƒแƒšแƒแƒ”แƒ‘แƒ˜แƒกแƒ—แƒ•แƒ˜แƒก.

Syntax:


CCur(Expression As Variant) As Currency

Return value:

แƒ•แƒแƒšแƒฃแƒขแƒ

Parameters:

Expression: Any string or a numeric expression that you want to convert to a number.
CCur(EMPTY) returns 0.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err6 not found).

Example:


  Sub CCur_example
      Print CCur( expression := 145.279 * "654" )
      Print CCur( -258.0421E+02 )
  End Sub

Please support us!