• News
  • GDL Docs
    • GDL Reference Guide
    • New Features Guides
    • Style Guide and Technical Standards
    • Other Docs
  • Learning
  • Tips & Tricks
  • Forum
    • General discussions
    • About this site
    • Problems and solutions in GDL
    • Forum rules and functions
  • GDL Sites
    • Graphisoft
    • Archicad
    • Archicad API
    • Help Center
    • BIMComponents
    • Facebook/AC
    • Youtube/AC
    • BIMx Model Transfer
    • Graphisoft Educational Licenses
    • Community
  • Sign up
  • Sign in

Reply To: change text to number

Home › Forums › Problems and solutions in GDL › Informations from the environment › change text to number › Reply To: change text to number

January 5, 2018 at 19:55 #3717
Denny Wong
Participant

Hi there,

Here’s a sample:

n = split("1/50", "%n%s%n", j,k,l)
print "Scale is ", j, " to ", l, " or ", j*2, " to ", l*2, " if you are really mad"
Attachments:
  1. Screen-Shot-2018-01-05-at-18.54.45.png

  • About GDL Center
  • © 2025 GRAPHISOFT
  • GRAPHISOFT is part of the Nemetschek Group