help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Float printString?


From: Holger Freyther
Subject: Re: [Help-smalltalk] Float printString?
Date: Wed, 6 Jul 2016 12:08:19 +0200

> On 06 Jul 2016, at 10:44, Robert Kuszinger <address@hidden> wrote:
> 
> Hello!
> 
> I've made a script to perform GRASS GIS operations automatically.
> It was running for weeks nicely.
> 
> Today it emerged:
> 
> Object: 1 error: The program attempted to divide a number by zero



> ZeroDivide(Exception)>>signal (ExcHandling.st:254)
> SmallInteger(Number)>>zeroDivide (SysExcept.st:1386)
> Fraction>>setNumerator:setDenominator: (Fraction.st:485)
> Fraction class>>numerator:denominator: (Fraction.st:66)
> Fraction>>raisedToInteger: (Fraction.st:510)

so the denominator is 0? Can you use >>#inspect on your float to see what your 
float looks like?

holger


reply via email to

[Prev in Thread] Current Thread [Next in Thread]