Make a Number Expression
Javascript, Score = 1663.46768

function X($){S=Math.sqrt;function J(A){return A.join("")}function M(A,B){return A.length&lt;B.length?A:B}function D(q){var w="",e,r,t,y;for(e=9;e&gt;1;e--){r=~~(q/e);t=r*e-q;if(t==0)y=J([G(r),e,"*"]);else y=J([G(r),e,"*",G(-t),"+"]);if(w=="")w=y;w=M(w,y)}return w}function Q(a){var s=~~S(a),d=a-s*s,f=J([G(s),"&gt;*",G(d),"+"]),g;s=Math.ceil(S(a));d=s*s-a;g=J([G(s),"&gt;*",G(d),"-"]);return M(f,g)}function G(z){var x,c,v,b,n,m;if(z==0)return"22-";if(z==1)return"22/";if(z&gt;1&amp;&amp;z&lt;10)return""+z;if(z&gt;9&amp;&amp;z&lt;19){x=~~(z/2);c=z-x;return J([x,c,"+"])}for(v=9;v&gt;1;v--){b=~~(z/v);if(b&gt;1&amp;&amp;b&lt;10&amp;&amp;b*v==z)return J([v,b,"*"])}n=S(z);if(~~n==n)return J([G(n),"&gt;*"]);return M(D(z),Q(z))}return G($)}


This is my attempt for my question, and this is output. Code size is 671, and output size is 1304. Score is 1663.46768 (rounded up to 5 decimal places).