Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for End Zeros by Rounin
function endZeros(value: number): number {
return (""+value).length - (""+value).replace(/0+$/, '').length;
}
April 27, 2020
Comments: