Compute Modulus

Computes the remainder after division of one number by another.

Examples Filter
package main

import (
	"fmt"
	"math"
)

func main() {
	c := math.Mod(7, 4)
	fmt.Printf("%.1f", c)
}