Re: Float printString?

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 06 Jul 2016, at 10:44, Robert Kuszinger <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.