From 0a8b8f47d98de4316d3b99150986bbbc8ffa222a Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Thu, 2 Jun 2022 22:05:58 -0400 Subject: [PATCH] Fix formatting and curly brackets --- ZSharp/ZS.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ZSharp/ZS.h b/ZSharp/ZS.h index 01cbbf9..18d9e02 100644 --- a/ZSharp/ZS.h +++ b/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 +} )" ;