====== mCeil ====== (float v) Round v up to the nearest whole number. ===== Syntax ===== int mCeil(float %v); ===== Parameters ===== [[scripting:doc:engine:types:float|float]] **%%%v%%**\\ No description available. ===== Return value ===== [[scripting:doc:engine:types:int|int]]\\ No description available. ===== Remarks ===== ===== Examples ===== ===== Source ===== Engine ===== See also ===== [[scripting:doc:u:u:atof|atof]]\\ [[scripting:doc:u:u:atoi|atoi]]\\ [[scripting:doc:u:u:getmax|getMax]]\\ [[scripting:doc:u:u:getmin|getMin]]\\ [[scripting:doc:u:u:mabs|mAbs]]\\ [[scripting:doc:u:u:macos|mAcos]]\\ [[scripting:doc:u:u:masin|mAsin]]\\ [[scripting:doc:u:u:matan|mAtan]]\\ [[scripting:doc:u:u:mclamp|mClamp]]\\ [[scripting:doc:u:u:mclampf|mClampF]]\\ [[scripting:doc:u:u:mcos|mCos]]\\ [[scripting:doc:u:u:mdegtorad|mDegToRad]]\\ [[scripting:doc:u:u:mfloatlength|mFloatLength]]\\ [[scripting:doc:u:u:mfloor|mFloor]]\\ [[scripting:doc:u:u:mlog|mLog]]\\ [[scripting:doc:u:u:mpow|mPow]]\\ [[scripting:doc:u:u:mradtodeg|mRadToDeg]]\\ [[scripting:doc:u:u:msin|mSin]]\\ [[scripting:doc:u:u:msolvecubic|mSolveCubic]]\\ [[scripting:doc:u:u:msolvequadratic|mSolveQuadratic]]\\ [[scripting:doc:u:u:msolvequartic|mSolveQuartic]]\\ [[scripting:doc:u:u:msqrt|mSqrt]]\\ [[scripting:doc:u:u:mtan|mTan]]\\ ===== References ===== [[scripting:doc:u:fxdtsbrick:vceumodvariable|fxDTSBrick::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:56\\ [[scripting:doc:u:fxdtsbrick:vceumodvariable|fxDTSBrick::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:108\\ [[scripting:doc:u:minigameso:vceumodvariable|MiniGameSO::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:171\\ [[scripting:doc:u:minigameso:vceumodvariable|MiniGameSO::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:223\\ [[scripting:doc:u:vehicle:vceumodvariable|Vehicle::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:285\\ [[scripting:doc:u:vehicle:vceumodvariable|Vehicle::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:337\\ [[scripting:doc:u:player:vceumodvariable|Player::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:399\\ [[scripting:doc:u:player:vceumodvariable|Player::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:451\\ [[scripting:doc:u:gameconnection:vceumodvariable|GameConnection::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:513\\ [[scripting:doc:u:gameconnection:vceumodvariable|GameConnection::VCE_modVariable]]: Add-Ons/Event_Variables/server/outputs.cs:565\\ [[scripting:doc:u:gameconnection:ondeath|GameConnection::onDeath]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:1343\\ [[scripting:doc:u:slayeruminigameso:endround|Slayer_MiniGameSO::endRound]]: Add-Ons/Gamemode_Slayer/server/core/Slayer_MiniGameSO.cs:644\\ [[scripting:doc:u:u:basketballaddspin|basketBallAddSpin]]: Add-Ons/Item_Sports/basketball.cs:237\\ [[scripting:doc:u:u:basketballaddspin|basketBallAddSpin]]: Add-Ons/Item_Sports/basketball.cs:238\\ [[scripting:doc:u:u:ndgetplateboxfromraycast|ndGetPlateBoxFromRayCast]]: Add-Ons/Tool_NewDuplicator/scripts/server/functions.cs:136\\ [[scripting:doc:u:u:ndgetplateboxfromraycast|ndGetPlateBoxFromRayCast]]: Add-Ons/Tool_NewDuplicator/scripts/server/functions.cs:137\\ [[scripting:doc:u:u:ndgetplateboxfromraycast|ndGetPlateBoxFromRayCast]]: Add-Ons/Tool_NewDuplicator/scripts/server/functions.cs:138\\ [[scripting:doc:u:u:ndgetlargestbrickid|ndGetLargestBrickId]]: Add-Ons/Tool_NewDuplicator/scripts/server/functions.cs:502\\ [[scripting:doc:u:u:servercmdsavedup|serverCmdSaveDup]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:733\\ [[scripting:doc:u:u:servercmdloaddup|serverCmdLoadDup]]: Add-Ons/Tool_NewDuplicator/scripts/server/commands.cs:828\\ [[scripting:doc:u:ndmustackselect:onselectobject|NDM_StackSelect::onSelectObject]]: Add-Ons/Tool_NewDuplicator/classes/server/duplimode/stackselect.cs:51\\ [[scripting:doc:u:ndmuplantcopy:conditionalplant|NDM_PlantCopy::conditionalPlant]]: Add-Ons/Tool_NewDuplicator/classes/server/duplimode/plantcopy.cs:230\\ [[scripting:doc:u:ndmuboxselect:onplantbrick|NDM_BoxSelect::onPlantBrick]]: Add-Ons/Tool_NewDuplicator/classes/server/duplimode/boxselect.cs:316\\ [[scripting:doc:u:nduselection:startboxselection|ND_Selection::startBoxSelection]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:648\\ [[scripting:doc:u:nduselection:startboxselection|ND_Selection::startBoxSelection]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:649\\ [[scripting:doc:u:nduselection:startboxselection|ND_Selection::startBoxSelection]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:650\\ [[scripting:doc:u:nduselection:startsupercut|ND_Selection::startSuperCut]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:1334\\ [[scripting:doc:u:nduselection:startsupercut|ND_Selection::startSuperCut]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:1335\\ [[scripting:doc:u:nduselection:startsupercut|ND_Selection::startSuperCut]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:1336\\ [[scripting:doc:u:nduselection:finishloading|ND_Selection::finishLoading]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:4456\\ [[scripting:doc:u:nduselection:finishloading|ND_Selection::finishLoading]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:4457\\ [[scripting:doc:u:nduselection:finishloading|ND_Selection::finishLoading]]: Add-Ons/Tool_NewDuplicator/classes/server/selection.cs:4458\\ [[scripting:doc:u:u:servercmdcancelevents|serverCmdCancelEvents]]: base/server/scripts/allGameScripts.cs:5912\\ [[scripting:doc:u:u:servercmdjoinminigame|serverCmdJoinMinigame]]: base/server/scripts/allGameScripts.cs:26875\\ [[scripting:doc:u:slayerugeneralubasicucolor:createcolormenu|Slayer_General_Basic_Color::CreateColorMenu]]: Add-Ons/Gamemode_Slayer/client/gui/main/90_Slayer_General.cs:160\\ [[scripting:doc:u:slayerugeneralubasicucolor:createcolormenu|Slayer_General_Basic_Color::CreateColorMenu]]: Add-Ons/Gamemode_Slayer/client/gui/main/90_Slayer_General.cs:164\\ [[scripting:doc:u:glassnotification:updatetext|GlassNotification::updateText]]: Add-Ons/System_BlocklandGlass/client/GlassNotificationManager.cs:351\\ [[scripting:doc:u:glassgraphs:displaygraph|GlassGraphs::displayGraph]]: Add-Ons/System_BlocklandGlass/client/GlassGraphs.cs:319\\ [[scripting:doc:u:u:getcolorfromtable|getColorFromTable]]: Add-Ons/System_BlocklandGlass/client/GlassServerControl.cs:812\\ [[scripting:doc:u:u:getcolorfromtable|getColorFromTable]]: Add-Ons/System_BlocklandGlass/client/GlassServerControl.cs:812\\ [[scripting:doc:u:u:getcolorfromtable|getColorFromTable]]: Add-Ons/System_BlocklandGlass/client/GlassServerControl.cs:812\\ [[scripting:doc:u:u:getcolorfromtable|getColorFromTable]]: Add-Ons/System_BlocklandGlass/client/GlassServerControl.cs:812\\ [[scripting:doc:u:glassservercontrolc:spawncolormenu|GlassServerControlC::spawnColorMenu]]: Add-Ons/System_BlocklandGlass/client/GlassServerControl.cs:922\\ [[scripting:doc:u:glassliveconnection:online|GlassLiveConnection::onLine]]: Add-Ons/System_BlocklandGlass/client/submodules/live/GlassLiveConnection.cs:708\\ [[scripting:doc:u:u:spamalert|spamAlert]]: base/server/mainServer.cs:1405\\