UNPKG

@brewlab/calc

Version:

Library with methods for calculations used in brewing.

10 lines (9 loc) 353 B
/** * Converts a pre-fermented gravity measurement into brix. * Note: this calculator will only work for unfermented * wart. * @param {number} og The original gravity measurement (e.g. 1.050) * @returns {number} the brix value that represents the provided * original gravity. */ export default function originalGravityToBrix(og: number): number;