playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to get 2 int variables, from one 2 digit variable?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to get 2 int variables, from one 2 digit variable?[SOLVED] (Read 1717 times)
Splankton
Sr. Member
Posts: 268
How to get 2 int variables, from one 2 digit variable?[SOLVED]
«
on:
January 26, 2015, 10:26:57 AM »
If I have a 2 digit int, how can I extract each digit as its own int variable?
«
Last Edit: January 26, 2015, 10:43:32 AM by Splankton
»
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: How to get 2 int variables, from one 2 digit variable?
«
Reply #1 on:
January 26, 2015, 10:30:20 AM »
You cab convert it to a string and use get substring.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Splankton
Sr. Member
Posts: 268
Re: How to get 2 int variables, from one 2 digit variable?
«
Reply #2 on:
January 26, 2015, 10:43:16 AM »
Quote from: Lane on January 26, 2015, 10:30:20 AM
You cab convert it to a string and use get substring.
Ok, thanks
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to get 2 int variables, from one 2 digit variable?[SOLVED]