Results 1 to 10 of 10

Thread: [SOLVED] Need some help with decimals..

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2010
    Posts
    5

    [SOLVED] Need some help with decimals..

    I've this piece of code:
    Code:
    MsgBox((CDec("19.2") + CDec("20.8")).ToString)
    It shows the msgbox, But it shows 400 ?
    I'm running it on the Compact Framework 3.5, And the value needs to come from a string.
    Last edited by Goz3rr; Feb 11th, 2010 at 02:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width