Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: (crazyinsomniac:) Re: Fabric calculator - a better way to do it?

by ailie (Friar)
on Dec 06, 2001 at 12:19 UTC ( [id://129869]=note: print w/replies, xml ) Need Help??


in reply to (crazyinsomniac:) Re: Fabric calculator - a better way to do it?
in thread Fabric calculator - a better way to do it?

Wow. It never even occurred to me to put in widths like that, since quilting fabric is almost always 45" wide, sometimes 60" wide - certainly not 1" wide. Of course, now I'm going "D'oh!"

The math is inelegant, but that's a basic fact of calculating fabric yardages for quilts. Simple math, but annoying.

I like the module idea. Of course, I have no idea how to go about such a thing, but learning is really the whole point.

Price estimation is simple:
print "No, you may not buy more fabric. \n";

  • Comment on Re: (crazyinsomniac:) Re: Fabric calculator - a better way to do it?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://129869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2025-06-15 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.