Click here to Skip to main content
15,884,628 members
Articles / Programming Languages / Visual Basic

Money DataType

Rate me:
Please Sign up or sign in to vote.
4.56/5 (12 votes)
4 Sep 200510 min read 115.6K   1.1K   49  
An article on creating a Money datatype with localized formatting and plugin conversion support.
''' <summary>
''' Provides a mechanism for converting a Money region to another region.
''' </summary>
Public Interface IMoneyConversionProvider
    ''' <summary>
    ''' Converts a money amount to another region.
    ''' </summary>
    ''' <param name="moneyFrom"></param>
    ''' <param name="toRegion"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function Convert(ByVal moneyFrom As Money, ByVal toRegion As RegionInfo) As Money
End Interface

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions