convertToGrams

fun Measurement.convertToGrams(): Measurement

Converts a given measurement to grams.

Receiver

the measurement to convert.

Return

the converted measurement.