Casting double to decimal
When trying to put some code like
I got the error saying that "Cannot cast expression of type 'double' to type 'decimal'. Actually we can do that. Please see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfexplicitnumericconversionstable.asp for more information
Please sign in to leave a comment.
Sorry! I got the error only when
but don't get one when
Seems to be a bug. Please submit it as request into our tracker.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Nat" <no_mail@jetbrains.com> wrote in message
news:9989730.1079121094750.JavaMail.itn@is.intellij.net...
>
>
>
>