mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-10 15:52:12 +00:00
Fix formatting and curly brackets
This commit is contained in:
parent
fff73e5f14
commit
0a8b8f47d9
10
ZSharp/ZS.h
10
ZSharp/ZS.h
@ -205,17 +205,19 @@ func Perm(n, r)
|
||||
return Fac(n) / Fac(n - r)
|
||||
}
|
||||
|
||||
////////////////////////////
|
||||
//////////////////////////////////////////
|
||||
// ↓ MADE BY CONCHETUMARE_PRODUCTIONS ↓ //
|
||||
////////////////////////////
|
||||
func getPercent(value, percent)
|
||||
//////////////////////////////////////////
|
||||
func GetPercent(value, percent)
|
||||
{
|
||||
float temp = value * percent / 100
|
||||
return temp
|
||||
}
|
||||
//gets 100% of number
|
||||
func percent2hundred(value, percent)
|
||||
func PercentToHundred(value, percent)
|
||||
{
|
||||
float temp = value * 100 / percent
|
||||
return temp
|
||||
}
|
||||
)"
|
||||
;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user