LotoNika
(LotoNika)
February 14, 2024, 9:45pm
#1
So basically I’ve started making a advanced script checking if the number is even or uneven.
What number support could I add next?
Script: https://github.com/sgisheree/Help-with-handwritten-advanced-number-system/blob/main/even.lua
For now it supports up to a million, should I add support for higher numbers?
35 Likes
I have made a script that supports all numbers and its 99999 IQ method hypernull work unpatched 2024 bypass byfron
local number=9
if number%2==1 then
print("uneven")
return
end
print("even")
11 Likes
A bit more “in depth” to your amazing code is
function EvenOrOdd(number)
if number % 2 == 0 then
print(number .. " is even")
else
print(number .. " is odd")
end
end
12 Likes
stop hacking???../>>.,cmscma
1 Like
LotoNika
(LotoNika)
February 14, 2024, 9:49pm
#5
Too complicated, I think my version is a lot easier to understand.
10 Likes
Yeah I agree I skidded it from c++ application and converted it to roblox luau. Its kinda complicated and yours is easier to understand.
2 Likes
Then add in each number its own decimal
3 Likes
LotoNika
(LotoNika)
February 14, 2024, 9:52pm
#9
Exacly, but what other numbers should I add support to?
3 Likes
add support for 69 bilion pls
4 Likes
LotoNika
(LotoNika)
February 14, 2024, 9:55pm
#11
I’m actually initially planning to support up to 1 billion when it comes to this script. But I may think about this later.
The script now supports up to a million and has over 2 million lines.
2 Likes
WaflSyrup
(WaflSyrup)
February 14, 2024, 10:30pm
#12
why don’t you just use something like this?
function getParity(v: number)
if v % 2 == 0 then
return "even"
else
return "uneven"
end
end
print(getParity(6) ) -- even
1 Like
Entildo
(Fase)
February 14, 2024, 10:37pm
#13
Refer to OP’s reply, we don’t need complicated scripts when we have a simple one
4 Likes
WaflSyrup
(WaflSyrup)
February 14, 2024, 10:41pm
#16
i’m not trolling, if anything i’m just misunderstanding it
3 Likes
Entildo
(Fase)
February 14, 2024, 10:42pm
#17
OP found a simple solution to a large problem, you need to praise them instead of providing complicated scripts
10 Likes
WaflSyrup
(WaflSyrup)
February 14, 2024, 10:43pm
#18
it’s not a large problem and it’s not a simple solution, the code i provided isn’t even complicated at all
2 Likes
Orbular3
(Orbular3)
February 14, 2024, 10:45pm
#19
Your script has no error support for imaginary numbers, whereas OP ensures it returns “Unsupported number” if it receives an imaginary number. And don’t even get me started on the inevitable quantum entanglement issues your script is bound to suffer from.
12 Likes
Entildo
(Fase)
February 14, 2024, 10:46pm
#20
Your code is not productive enough. Large problem.
4 Likes
WaflSyrup
(WaflSyrup)
February 14, 2024, 10:47pm
#21
try making it more productive then
2 Likes
Entildo
(Fase)
February 14, 2024, 10:48pm
#22
OP already has a very productive code.
osquinn:
5 Likes