getFraction
id: getFraction
title: system.kanoa.utilities.getFraction
This function requires KanoaCore moduleDescription
Given a number, this function returns a string representation of the number as a fraction (kanoaCore).Syntax
getFraction(number)- number (Float) - The input float number.
- fraction (String) - A string representation of the number as a fraction.
Code Example
# Example Usage:
fraction_string = system.kanoa.utilities.getFraction(number)