Skip to content

Commit

Permalink
Replaced scientific with fromInteger
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Nov 7, 2015
1 parent 75d73f0 commit c56b5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Text/Mustache/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ instance ToMustache Double where
toMustache = Number fromFloatDigits

instance ToMustache Integer where
toMustache = Number flip scientific 0
toMustache = Number fromInteger

instance ToMustache Int where
toMustache = toMustache . toInteger
Expand Down

0 comments on commit c56b5b5

Please sign in to comment.