Permalink
Browse files

Merge pull request #45 from jgordor/master

Fix float data-type
  • Loading branch information...
2 parents 255a366 + 4f094e7 commit ab826e13fa626e32af7840a4e7b25b679ff8f94d @evanmiller evanmiller committed Oct 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/boss_record_lib.erl
View
4 src/boss_record_lib.erl
@@ -113,4 +113,6 @@ convert_value_to_type("false", boolean) -> false;
convert_value_to_type(1, boolean) -> true;
convert_value_to_type(0, boolean) -> false;
convert_value_to_type(true, boolean) -> true;
-convert_value_to_type(false, boolean) -> false.
+convert_value_to_type(false, boolean) -> false;
+
+convert_value_to_type(Val, float) -> Val.

0 comments on commit ab826e1

Please sign in to comment.