Files
SammelmappeOOP/E-Book/MediaMath.cs
2024-07-25 15:47:46 +02:00

17 lines
348 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace E_Book
{
internal static class MediaMath
{
public static decimal DimensionsMath(decimal pixelHeight, decimal pixelWidth)
{
return pixelHeight * (960 / pixelWidth);
}
}
}