Announcement

Collapse
No announcement yet.

How to do: single precision constants

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to do: single precision constants

    A simple question: I need to create some numeric constants that are single precision. All I see, though are Integer constants. Is it possible to create floating point constants?

    Dale

    ------------------

  • #2
    Dale,

    as you've already found out: PB doesn't support floating point constants at the moment. You might try to use a global var instead.

    Knuth

    ------------------
    http://www.softAware.de

    Comment


    • #3
      Yes or you could use a string constant $A="3.232423"
      and then use Val($A) where you need the constant. Not pretty but
      it works.

      David Pratten

      ------------------

      Comment

      Working...
      X