586,636 active members*
3,054 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    16

    seperating digits

    Hi, There may or may not be an easy/possible way.

    But.....
    I would like to separate a variable into individual numbers so 123456 would become 1, 2, 3, 4, 5 and 6

    Any ideas?

  2. #2
    Join Date
    Jul 2010
    Posts
    118
    #1=123456
    #2=FIX[#1/100000] =1
    #3=FIX[#1/10000]-[#2*10] =2
    #4=FIX[#1/1000]-[[#2*100]+[#3*10]] =3
    .....

  3. #3
    Join Date
    Apr 2010
    Posts
    16
    Thank You!!

Similar Threads

  1. Alarm 003 to many digits on Hardinge with 18-T
    By HBFixedGear in forum Fanuc
    Replies: 8
    Last Post: 08-10-2022, 01:45 AM
  2. Too many digits
    By vmcchris in forum Fanuc
    Replies: 7
    Last Post: 08-20-2010, 12:45 AM
  3. Seperating Oil from Dirt
    By Smackre in forum Community Club House
    Replies: 6
    Last Post: 09-17-2008, 03:05 PM
  4. Seperating Tramp Oil From Coolant??
    By donl517 in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 08-02-2007, 02:11 PM
  5. Dialog Digits
    By MikeT in forum BobCad-Cam
    Replies: 2
    Last Post: 03-02-2004, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •