Search results
Jump to navigation
Jump to search
- local days = math.floor((temp + 3) / 4) + (365 * year) - math.floor((temp + 99) / 100) - 80 + array[month] + math.floor((temp + 399) / 400) + day2 KB (261 words) - 10:42, 16 April 2024
- ...+ (365 * gy) + math.floor((gy2 + 3) / 4) - math.floor((gy2 + 99) / 100) + math.floor((gy2 + 399) / 400) + gd + g_d_m[gm] local jy = -1595 + (33 * math.floor(days / 12053))3 KB (328 words) - 22:02, 14 January 2025
- local i = math.floor(h * 6) return math.floor(r*255), math.floor(g*255), math.floor(b*255)1 KB (176 words) - 19:35, 4 April 2018
- local prevMB = math.floor(engineStreamingGetMemorySize() / 1024 / 1024) ...streaming memory available has been restored to the original value of " .. math.floor(engineGetStreamingMemorySize() / 1024 / 1024) .. " MB [Was " .. prevMB .. "982 bytes (106 words) - 21:58, 19 January 2026
- outputChatBox("general distance of most vehicles: "..math.floor(vehicles),0,255,0) outputChatBox("distance of planes and trains: "..math.floor(planes_trains),0,255,0)838 bytes (86 words) - 23:17, 22 July 2018
- local r1 = math.floor(r / 16) local g1 = math.floor(g / 16)1 KB (205 words) - 05:45, 20 December 2017
- local min = math.floor ( ( seconds % 3600 ) /60 ) local hou = math.floor ( ( seconds % 86400 ) /3600 )2 KB (244 words) - 18:14, 27 February 2015
- vehicleRPM = math.floor(((getElementSpeed(vehicle, "km/h") / getVehicleCurrentGear(vehicle)) * 160) vehicleRPM = math.floor((getElementSpeed(vehicle, "km/h") * 160) + 0.5)2 KB (136 words) - 22:22, 12 December 2020
- local bw, bh = math.floor(sx * 0.6), math.floor(sy * 0.6) local bx, by = math.floor((sx - bw) / 2), math.floor((sy - bh) / 2)3 KB (343 words) - 12:13, 15 July 2025
- vehicleRPM = math.floor(((getElementSpeed(vehicle, "km/h") / getVehicleCurrentGear(vehicle)) * 160) vehicleRPM = math.floor((getElementSpeed(vehicle, "km/h") * 160) + 0.5)2 KB (130 words) - 21:54, 12 December 2020
- vehicleRPM = math.floor(((getElementSpeed(vehicle, "kmh")/getVehicleCurrentGear(vehicle))*160) + 0. vehicleRPM = math.floor((getElementSpeed(vehicle, "kmh")*160) + 0.5)2 KB (162 words) - 08:07, 29 March 2018
- Using math.floor should fix this I guess, players die when their health becomes (under) 0.351 bytes (52 words) - 20:07, 13 May 2013
- * [http://www.lua.org/manual/5.1/manual.html#pdf-math.floor math.floor]2 KB (386 words) - 07:49, 8 June 2024
- ...oor(speedkmh) == speedkmh and speedkmh or string.format(speedkmh, "%.1f"), math.floor(speedmph) == speedmph and speedmph or string.format(speedmph, "%.1f")3 KB (286 words) - 10:43, 3 June 2020
- * [http://lua.gts-stolberg.de/math.php#math.floor math.floor]2 KB (361 words) - 17:58, 21 February 2021
- ...oor(speedkmh) == speedkmh and speedkmh or string.format(speedkmh, "%.1f"), math.floor(speedmph) == speedmph and speedmph or string.format(speedmph, "%.1f")4 KB (508 words) - 10:43, 3 June 2020
- if (math.floor(start) ~= start) or (math.floor(finish) ~= finish) then return false end3 KB (357 words) - 05:44, 3 March 2023
- return math.floor(totalPing / #players)1 KB (131 words) - 00:31, 3 September 2025
- ...outputChatbox("The streaming buffer size has been changed from " .. math.floor(engineStreamingGetBufferSize() / 1024 / 1024) .. " MB to " .. sizeMB .. " M1 KB (119 words) - 17:33, 7 November 2024
- local level = math.floor( level )1 KB (135 words) - 15:30, 26 August 2018