In mathematics, a fraction represents a part of a whole. It consists of two numbers separated by a horizontal line, where the numerator (top number) indicates the number of parts being considered, and the denominator (bottom number) indicates the total number of parts in the whole.
Writing fractions on a computer can be done using various methods, depending on the software or application being used. Here are some common ways to write fractions on a computer: