--- parser3/www/htdocs/Attic/_bug.html 2004/09/01 12:21:43 1.64 +++ parser3/www/htdocs/Attic/_bug.html 2005/07/27 14:04:15 1.90.2.3 @@ -1,13 +1,22 @@ -
-^mail:send[
- $.from[from]
- $.to[to]
- $.html{
- cid=xxx
- }
- $.file[
- $.value[^file::load[binary;_bug.html]]
-# $.content-disposition[inline]
- $.content-disposition[]
- ]
-]
\ No newline at end of file
+
+$double(1.6)
+^double.int[]
+^math:round($double)
+
+
+$pdfsize[822674]
+$pdfsize($pdfsize / 1000)
+$pdfsize[^pdfsize.int[]]
+=int:$pdfsize=
+^if($pdfsize > 1000){
+ $pdfsize($pdfsize / 1000)
+ $pdfsize[^pdfsize.format[%.2g]]
+ $pdfsize[^pdfsize.match[\.][]{,}]
+ $pdfsize[$pdfsize ]
+}{
+ $pdfsize[$pdfsize ]
+}
+
+
+ $pdfsize
+
\ No newline at end of file