Anonymous
Not logged in
Create account
Log in
Search
Module:Shared: Difference between revisions
From Melvor Idle
Namespaces
Module
Discussion
More
More
Page actions
Read
View source
History
← Older edit
Newer edit →
Module:Shared
(view source)
Revision as of 22:47, 29 June 2024
293 bytes removed
,
29 June
Remove deprecated functions
Revision as of 22:44, 29 June 2024
(
view source
)
Ricewind
(
talk
|
contribs
)
(Remove deprecated functions)
← Older edit
Revision as of 22:47, 29 June 2024
(
view source
)
Ricewind
(
talk
|
contribs
)
(Remove deprecated functions)
Newer edit →
Line 348:
Line 348:
function p.gcd(a, b)
function p.gcd(a, b)
return numModule.gcd(a, b)
return numModule.gcd(a, b)
end
--Formats a pair of numbers as a reduced fraction
function p.fraction(n, d)
return numModule.fraction(n, d)
end
--Similar to p.fraction but returns the simplified numerator and denomerator separately without formatting
function p.fractionpair(n, d)
return numModule.fractionpair(n, d)
end
end
Ricewind
2,875
edits
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Contributing
Contribute to this wiki
Maintenance
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
Printable version