[{"data":1,"prerenderedAt":240},["ShallowReactive",2],{"/dict/round":3,"/dict/round-surround":229},{"id":4,"title":5,"body":6,"description":196,"extension":197,"meta":198,"navigation":216,"path":225,"seo":226,"stem":227,"__hash__":228},"content/dict/round.md","NetLogo Dictionary: round",{"type":7,"value":8,"toc":185},"minimark",[9],[10,11,16,35,58,64,75,78,153],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","round","region",[17,18,20],"h3",{"id":19},"round10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#round","doc-noteref","Reference to round","\nround\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},"round-number",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#round-number",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"round ",[55,56,57],"em",{},"number",[51,59,60,61,63],{},"Reports the integer nearest to ",[55,62,57],{},".",[51,65,66,67,69,70,74],{},"If the decimal portion of ",[55,68,57],{}," is exactly .5, the number\nis rounded in the ",[71,72,73],"strong",{},"positive"," direction.",[51,76,77],{},"Note that rounding in the positive direction is not always how\nrounding is done in other software programs. (In particular, it\ndoes not match the behavior of StarLogoT, which always rounded\nnumbers ending in 0.5 to the nearest even integer.) The rationale\nfor this behavior is that it matches how turtle coordinates relate\nto patch coordinates in NetLogo. For example, if a turtle’s\nxcor is -4.5, then it is on the boundary between a patch whose\npxcor is -4 and a patch whose pxcor is -5, but the turtle must be\nconsidered to be in one patch or the other, so the turtle is\nconsidered to be in the patch whose pxcor is -4, because we round\ntowards the positive numbers.",[79,80,81],"pre",{},[82,83,84,90,91,90,95,99,102,90,107,111,113,90,116,90,119,123,125,90,128,132,134,90,137,90,140,144,146,90,149],"code",{},[28,85,89],{"className":86},[87,88],"token","command","show"," ",[28,92,14],{"className":93},[87,94],"reporter",[28,96,98],{"className":97},[87,57],"4.2",[100,101],"br",{},[28,103,106],{"className":104},[87,105],"variable","=>",[28,108,110],{"className":109},[87,57],"4",[100,112],{},[28,114,89],{"className":115},[87,88],[28,117,14],{"className":118},[87,94],[28,120,122],{"className":121},[87,57],"4.5",[100,124],{},[28,126,106],{"className":127},[87,105],[28,129,131],{"className":130},[87,57],"5",[100,133],{},[28,135,89],{"className":136},[87,88],[28,138,14],{"className":139},[87,94],[28,141,143],{"className":142},[87,57],"-4.5",[100,145],{},[28,147,106],{"className":148},[87,105],[28,150,152],{"className":151},[87,57],"-4",[51,154,155,156,168,169,168,177,63],{},"See also ",[157,158,160],"primitive",{"displayText":159,"permalink":159},"precision",[21,161,159],{"className":162,"dataDisplayText":159,"href":164,"rel":165,"target":167,"title":159},[163],"netlogo-wiki-link","/dictionary#precision",[166],"noopener","_self",", ",[157,170,172],{"displayText":171,"permalink":171},"ceiling",[21,173,171],{"className":174,"dataDisplayText":171,"href":175,"rel":176,"target":167,"title":171},[163],"/dictionary#ceiling",[166],[157,178,180],{"displayText":179,"permalink":179},"floor",[21,181,179],{"className":182,"dataDisplayText":179,"href":183,"rel":184,"target":167,"title":179},[163],"/dictionary#floor",[166],{"title":186,"searchDepth":187,"depth":188,"links":189},"",5,3,[190],{"id":19,"depth":188,"text":191,"children":192},"\nround\n\n1.0\n",[193],{"id":38,"depth":194,"text":195},4,"round number","Documentation for the round primitive.","md",{"source":199,"metadataOutputPath":200,"projectConfig":201,"language":208,"inheritFrom":217,"output":216,"version":202,"layout":218,"dictionaryDisplayName":219,"dictionaryHomeDirectory":220,"indexFileURI":221,"currentItemId":14,"currentItemLabel":14,"primRoot":222,"icon":223,"assetsRoot":224},"autogen/dict/round.md","content/dict/round.metadata.yaml",{"version":202,"projectRoot":63,"scanRoot":203,"outputRoot":204,"defaults":205,"engine":211,"partials":212,"dedupeIdenticalDiskWrites":216},"7.0.4","autogen","content",{"inheritFrom":206,"language":208,"output":209,"extension":197,"title":210,"version":202},[207],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":213,"extensions":214},[63],[215,197],"mustache",true,[207],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/round",{"title":5,"description":196},"dict/round","wd7B1DiQ8g7_BNVAcOwL9T_3MXSkeUhKJP9rCPNlscU",[230,235],{"title":231,"path":232,"stem":233,"description":234,"children":-1},"NetLogo 3D Dictionary: roll-right","/dict/roll-right","dict/roll-right","Documentation for the roll-right primitive.",{"title":236,"path":237,"stem":238,"description":239,"children":-1},"NetLogo Dictionary: run","/dict/run","dict/run","Documentation for the run primitive.",1777657755491]