picking out numbers in a dim number as double - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

picking out numbers in a dim number as double

waoowaoo Posts: 1Member
i want to beable to choose just the first number in a number and store it in another dim location.


dim num as double
num = 4524

what i want to display would be just the 4 or just the 5 or just the 2 ect.

can anyone help?


  • Siavash1989Siavash1989 Posts: 105Member
    use the mid function:
    mid (string, start, length) use like this:
    this returns "2"
    "Within these countries, the man who was loyal, I rewarded well, who was evil, him I punished well!"

Sign In or Register to comment.