Revert "to_decimal method"

This reverts commit 2339b66e64723e57ce93566f01526574cb71802c.