Help

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2003-12-04 09:36 PM
2003-12-04
09:36 PM

Ex #1----LogsHigh = int((HLH_RoHt + 0'-3")/HLH_log_sh)
Ex #2----parameters HLH_Lo2 = str("%", LogsHigh+1)
What I'm doing is taking an int from Ex #1 and converting it to a string and the value I'm receiving is 9.000. I would like for it to only be 9 w/o the decimals places.
Here are some ways I tried it
1. parameters HLH_Lo2 = str(" ", LogsHigh+1)
2. parameters HLH_Lo2 = str(LogsHigh+1)
3. parameters HLH_Lo2 = int(str("%", LogsHigh+1))
Didn't figure that would work, but I gave it a try anyway.
What simple little thing am I missing.
Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2003-12-04 09:53 PM
2003-12-04
09:53 PM
Try:
HLH_Lo2 = str("%.0", LogsHigh+1)
I haven't checked to see if it works, but it should give you a resulting value of "9".
HLH_Lo2 = str("%.0", LogsHigh+1)
I haven't checked to see if it works, but it should give you a resulting value of "9".
David Larrew, AIA, GDLA, GSRC
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2003-12-04 10:04 PM
2003-12-04
10:04 PM
Thank ya Thank ya Thank ya
Works perfect.
Works perfect.
Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz