mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22: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)
|
return Fac(n) / Fac(n - r)
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////
|
//////////////////////////////////////////
|
||||||
// ↓ MADE BY CONCHETUMARE_PRODUCTIONS ↓ //
|
// ↓ MADE BY CONCHETUMARE_PRODUCTIONS ↓ //
|
||||||
////////////////////////////
|
//////////////////////////////////////////
|
||||||
func getPercent(value, percent)
|
func GetPercent(value, percent)
|
||||||
{
|
{
|
||||||
float temp = value * percent / 100
|
float temp = value * percent / 100
|
||||||
return temp
|
return temp
|
||||||
}
|
}
|
||||||
//gets 100% of number
|
//gets 100% of number
|
||||||
func percent2hundred(value, percent)
|
func PercentToHundred(value, percent)
|
||||||
|
{
|
||||||
float temp = value * 100 / percent
|
float temp = value * 100 / percent
|
||||||
return temp
|
return temp
|
||||||
|
}
|
||||||
)"
|
)"
|
||||||
;
|
;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user