Results 1 to 2 of 2

Thread: Ext.Number.randomInt - incorrect documentation

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-26152 in 6.5.2.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    2,399
    Answers
    20
    Vote Rating
    667
      -2  

    Default Ext.Number.randomInt - incorrect documentation

    Ext.Number.randomInt documentation is not correct.

    The doc states that this method returns "A random integer within the specified range"

    This method uses the Math.random method which returns pseudo-random numbers.

    There's a huge difference between a random and pseudo-random number.

    A computer is not able to generate random numbers and it's not even possible to prove that a sequence of numbers is random or not.
    Be yourself; everyone else is already taken.

    —Oscar Wilde

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Lawrence, KS
    Posts
    457
    Answers
    65
    Vote Rating
    91
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Incorrect Documentation for Ext.Form 6.5.1
    By Stevia in forum Ext 6: Q&A
    Replies: 1
    Last Post: 1 Sep 2017, 3:22 PM
  2. [FIXED] Ext.Number. randomInt typo
    By LesJ in forum Ext 6: Bugs
    Replies: 1
    Last Post: 22 Apr 2015, 1:52 PM
  3. Ext.device.Contacts documentation incorrect
    By hello@mohawktech.co.nz in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 23 Sep 2014, 2:45 PM
  4. XType Documentation Incorrect
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 17 Mar 2011, 11:12 AM
  5. Documentation incorrect
    By azara in forum Ext GWT: Bugs (2.x)
    Replies: 0
    Last Post: 5 Apr 2010, 9:25 AM

Posting Permissions

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