I needed to convert Ligne button sizes to mm and inches, and since I'd gone to the trouble to figure out the formulas, I figured I'd post them here to save anyone else the time; I'll also post some code in case it's useful someday to someone.

mm = 25.4 * inches
inches = mm / 25.4

Ligne = 40 * inches
inches = Lignes / 40

Ligne = 40 * mm / 25.4
mm = 25.4 * Lignes / 40

Please Login or Register  to view this content.