Index: trunk/Ohana/src/opihi/lib.shell/dvomath.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/dvomath.c	(revision 14708)
+++ trunk/Ohana/src/opihi/lib.shell/dvomath.c	(revision 20936)
@@ -76,8 +76,12 @@
     case 0:
       if (Ncstack == 1) {
-	  /* use exact input work */
-	  sprintf (outname, "%s", stack[0].name);
+	/* use exact input word */
+	sprintf (outname, "%s", stack[0].name);
       } else {
-	  sprintf (outname, "%.12g", stack[0].Float);
+	if (stack[0].type == 's') {
+	  sprintf (outname, "%d", stack[0].IntValue);
+	} else {
+	  sprintf (outname, "%.12g", stack[0].FltValue);
+	}
       }
       break;
