-
-
Save parzibyte/c41072a599e54551e0d49c4656f396b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const centimetrosAPixeles = (centimetros, dpi) => { | |
const centimetrosPorPulgada = dpi / 2.54; | |
return centimetrosPorPulgada * centimetros; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment