|
|
| version 1.76, 2023/11/16 23:54:54 | version 1.78, 2026/01/06 16:36:38 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b double parser class. | Parser: @b double parser class. |
| Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) |
| Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| Line 34 DECLARE_CLASS_VAR(double, new MDouble); | Line 34 DECLARE_CLASS_VAR(double, new MDouble); |
| static void _int(Request& r, MethodParams&) { | static void _int(Request& r, MethodParams&) { |
| VDouble& vdouble=GET_SELF(r, VDouble); | VDouble& vdouble=GET_SELF(r, VDouble); |
| r.write(*new VInt(vdouble.as_int())); | r.write(*new VInt(vdouble.as_wint())); |
| } | } |
| static void _double(Request& r, MethodParams&) { | static void _double(Request& r, MethodParams&) { |