[Prev][Next][Index][Thread]

# Re: BETA-TEST release of LambdaMOO version 1.8.0beta1

- Date: Thu, 8 Feb 1996 09:39:21 PST
- From:
- Cc: MOO-Cows@parc.xerox.com
- In-reply-to: Kipp the Kidd's message of "Thu, 08 Feb 1996 01:14:45 PST" <199602080914.EAA19682@mailbox.syr.edu>

    Kipp the Kidd writes:
    > > If one of X or Y is an integer and the other is a floating-point number,
    > > then most of these operators raise E_TYPE; there are no automatic coercions
    > > of integers to floating-point numbers.
    >
    > How about making a server options property:

    I think this would be a really bad idea; we should simply come to an agreement
    about which way to go on this one and then do it.  Anything else leads to *way*
    too many porting and code-copying problems.

    > Also.. is it possible to make '.1' unparse into '0.1'?
    > Do you think either both should work, or both shouldn't?:
    >   tostr("$",tofloat(".02")) -> "$0.02"
    >   tostr("$",.02) -> {"Line 1: parse error"}

    I agree that there ought to be consistency here; I'll look into fixing it in
    beta2.

    	Pavel

References:

- Re: BETA-TEST release of LambdaMOO version 1.8.0beta1

- From: mcmudge@mailbox.syr.edu (Kipp the Kidd)

- Prev: Re: BETA-TEST release of LambdaMOO version 1.8.0beta1
- Next: Re: BETA-TEST release of LambdaMOO version 1.8.0beta1
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index