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:

5 Invalid procedure call

6 Overflow

Example:


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

Please support us!