[{"data":1,"prerenderedAt":224},["ShallowReactive",2],{"/dict/random":3,"/dict/random-surround":213},{"id":4,"title":5,"body":6,"description":180,"extension":181,"meta":182,"navigation":200,"path":209,"seo":210,"stem":211,"__hash__":212},"content/dict/random.md","NetLogo Dictionary: random",{"type":7,"value":8,"toc":169},"minimark",[9],[10,11,16,35,58,67,74,79,95,160],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","random","region",[17,18,20],"h3",{"id":19},"random10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#random","doc-noteref","Reference to random","\nrandom\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[36,37,41],"h4",{"id":38,"className":39},"random-number",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#random-number",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"random ",[55,56,57],"em",{},"number",[51,59,60,61,63,64,66],{},"If ",[55,62,57],{}," is positive, reports a random integer greater than\nor equal to 0, but strictly less than ",[55,65,57],{},".",[51,68,60,69,71,72,66],{},[55,70,57],{}," is negative, reports a random integer less than or\nequal to 0, but strictly greater than ",[55,73,57],{},[51,75,60,76,78],{},[55,77,57],{}," is zero, the result is always 0 as well.",[51,80,81,82,94],{},"Note: In versions of NetLogo prior to version 2.0, this primitive\nreported a floating point number if given a non-integer input. This\nis no longer the case. If you want a floating point answer, you\nmust now use ",[83,84,86],"primitive",{"displayText":85,"permalink":85},"random-float",[21,87,85],{"className":88,"dataDisplayText":85,"href":90,"rel":91,"target":93,"title":85},[89],"netlogo-wiki-link","/dictionary#random-float",[92],"noopener","_self"," instead.",[96,97,98],"pre",{},[99,100,101,107,108,107,112,116,119,124,126,107,129,107,132,136,138,142,144,107,147,107,150,154,156],"code",{},[28,102,106],{"className":103},[104,105],"token","command","show"," ",[28,109,14],{"className":110},[104,111],"reporter",[28,113,115],{"className":114},[104,57],"3",[117,118],"br",{},[28,120,123],{"className":121},[104,122],"comment",";; prints 0, 1,  or 2",[117,125],{},[28,127,106],{"className":128},[104,105],[28,130,14],{"className":131},[104,111],[28,133,135],{"className":134},[104,57],"-3",[117,137],{},[28,139,141],{"className":140},[104,122],";; prints 0, -1, or -2",[117,143],{},[28,145,106],{"className":146},[104,105],[28,148,14],{"className":149},[104,111],[28,151,153],{"className":152},[104,57],"3.5",[117,155],{},[28,157,159],{"className":158},[104,122],";; prints 0, 1, 2, or 3",[51,161,162,163,66],{},"See also ",[83,164,165],{"displayText":85,"permalink":85},[21,166,85],{"className":167,"dataDisplayText":85,"href":90,"rel":168,"target":93,"title":85},[89],[92],{"title":170,"searchDepth":171,"depth":172,"links":173},"",5,3,[174],{"id":19,"depth":172,"text":175,"children":176},"\nrandom\n\n1.0\n",[177],{"id":38,"depth":178,"text":179},4,"random number","Documentation for the random primitive.","md",{"source":183,"metadataOutputPath":184,"projectConfig":185,"language":192,"inheritFrom":201,"output":200,"version":186,"layout":202,"dictionaryDisplayName":203,"dictionaryHomeDirectory":204,"indexFileURI":205,"currentItemId":14,"currentItemLabel":14,"primRoot":206,"icon":207,"assetsRoot":208},"autogen/dict/random.md","content/dict/random.metadata.yaml",{"version":186,"projectRoot":66,"scanRoot":187,"outputRoot":188,"defaults":189,"engine":195,"partials":196,"dedupeIdenticalDiskWrites":200},"7.0.4","autogen","content",{"inheritFrom":190,"language":192,"output":193,"extension":181,"title":194,"version":186},[191],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":197,"extensions":198},[66],[199,181],"mustache",true,[191],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/random",{"title":5,"description":180},"dict/random","CZTSlQ-iJ40-DSPe8Mfenb_3Mhhwgefelrh7iWdJX_s",[214,219],{"title":215,"path":216,"stem":217,"description":218,"children":-1},"NetLogo 3D Dictionary: pzcor","/dict/pzcor","dict/pzcor","Documentation for the pzcor primitive.",{"title":220,"path":221,"stem":222,"description":223,"children":-1},"NetLogo Dictionary: random-cor","/dict/random-cor","dict/random-cor","Documentation for the random-cor primitive.",1777657753956]