[Mono-list] Convert.ToSingle/Convert.ToDouble with empty
Felipe Almeida Lessa
felipe.lessa at gmail.com
Thu Mar 16 11:42:18 EST 2006
Em Qui, 2006-03-16 às 16:49 +0100, Salvatore Scarciglia escreveu:
> On Thu, 16 Mar 2006 15:16:33 +0000
> Colin JN Breame <colin at breame.net> wrote:
> > I would expect it to throw a System.FormatException like Convert.ToInt32.
> > How does this compare to the MS CLR behaviour? Is this a bug or a feature?
> What does it happens if you try to do assign the result of:
> to a variable ?
> Maybe the problem is in the System.Console.WriteLine method !?
Welcome to booish, an interpreter for the boo programming language.
Running boo 0.7.5.2013.
The following builtin functions are available:
dir(Type): lists the members of a type
help(Type): prints detailed information about a type
load(string): evals an external boo file
globals(): returns the names of all variables known to the
Enter boo code in the prompt below.
>>> System.Convert.ToSingle("0") == 0
>>> System.Convert.ToSingle("") == 0
More information about the Mono-list