On 09/08/2010 06:58 PM, Stanislav Blinov wrote:
> 08.09.2010 20:46, Tom Kazimiers wrote:
>> Great! I am looking forward to that release :-). Any idea when it will
>> be available?
>>
>> For the mean time I will, as proposed, make a separate function that
>> checks if there is a dot in it or not. T
08.09.2010 20:46, Tom Kazimiers wrote:
Great! I am looking forward to that release :-). Any idea when it will
be available?
For the mean time I will, as proposed, make a separate function that
checks if there is a dot in it or not. Then I take to!float and to!int,
respectively.
Cheers,
Tom
Tha
Hi,
On 09/08/2010 10:02 AM, Stanislav Blinov wrote:
>> I would have thought that to!float() could handle a number without a
>> decimal point. If it can't I would suggest creating a bug report for
>> it. Now, since such a fix would not help you immediately in either
>> case, I would suggest creatin
Hi,
On 09/08/2010 05:38 PM, Don wrote:
> Pelle wrote:
>> On 09/08/2010 09:23 AM, Tom Kazimiers wrote:
>>> [ ..]
>>> Maybe a to!float that can cope with
>>> numbers without decimal point.
>>
>> You seem to have found a bug in to!float :-)
>>
>> to!float("123") works as expected, but to!float("0") b
Pelle wrote:
On 09/08/2010 09:23 AM, Tom Kazimiers wrote:
Hi,
I try to read data in from a file. This data consist mainly of numbers
and I have a hard time converting it to number type variables. Two data
lines could look like this
v 0 0 0
v 1.5 1.2 0
Now I want to parse those lines and call
On 09/08/2010 09:23 AM, Tom Kazimiers wrote:
Hi,
I try to read data in from a file. This data consist mainly of numbers
and I have a hard time converting it to number type variables. Two data
lines could look like this
v 0 0 0
v 1.5 1.2 0
Now I want to parse those lines and call a method, the
Jonathan M Davis wrote:
On Wednesday 08 September 2010 00:23:31 Tom Kazimiers wrote:
Hi,
I try to read data in from a file. This data consist mainly of numbers
and I have a hard time converting it to number type variables. Two data
lines could look like this
v 0 0 0
v 1.5 1.2 0
Now I want to
On Wednesday 08 September 2010 00:23:31 Tom Kazimiers wrote:
> Hi,
>
> I try to read data in from a file. This data consist mainly of numbers
> and I have a hard time converting it to number type variables. Two data
> lines could look like this
>
> v 0 0 0
> v 1.5 1.2 0
>
> Now I want to parse t
Hi,
I try to read data in from a file. This data consist mainly of numbers
and I have a hard time converting it to number type variables. Two data
lines could look like this
v 0 0 0
v 1.5 1.2 0
Now I want to parse those lines and call a method, the line in passed
(as char[]) to it:
int index =