A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: smaller one

  1. #1
    Senior Member
    Join Date
    Feb 2005
    Posts
    172

    smaller one

    is there any command to give the smaller number in 2 numbers ?

    ex:
    a>b
    command (a,b) //output:a

  2. #2
    Senior Member dlowe93's Avatar
    Join Date
    Aug 2001
    Location
    Stumptown
    Posts
    621
    Quote Originally Posted by UNDREAM
    is there any command to give the smaller number in 2 numbers ?

    ex:
    a>b
    command (a,b) //output:a
    Math.min()

    a = Math.min(a, b);

    HTH.

    d.
    dlowe93

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    172
    thank you

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center