@@ -0,0 +1,338 @@
+package org.matthewjwhite.stata.util;%0A%0Aimport com.stata.sfi.SFIToolkit;%0A%0Apublic class Conversion %7B%0A%09public static double real(boolean b) %7B%0A%09%09return b ? 1.0 : 0.0;%0A%09%7D%0A%0A%09public static String string(double x) %7B%0A%09%09return SFIToolkit.formatValue(x, %22%2524.0g%22).trim();%0A%09%7D%0A%0A%09public static String string(boolean b) %7B%0A%09%09return string(real(b));%0A%09%7D%0A%7D%0A

Add class for converting to Stata values