[portland] Step Value in range()

Rich Shepard rshepard at appl-ecosys.com
Fri May 2 18:00:52 CEST 2008

   Is it possible to write a range() call with a less-than-integral step?
Specifically, I would like to call range(0.0, 100.0, 0.1). It seems this is
not allowed; only integers need apply.

   Any way of using floats in range()?


Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

More information about the Portland mailing list