Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
ProzentZahl = (100 / 112) * Breite
static void Main(string[] args)
{
// falsch
int result = 100/112 * 5;
Console.WriteLine(result);
// richtig 1
result = (int)(100d/112d * 5);
Console.WriteLine(result);
// richtig 1
result = (int)(100.0/112.0 * 5);
Console.WriteLine(result);
Console.ReadLine();
}