Method: Time#subsec
- Defined in:
- time.c
#subsec ⇒ Numeric
3924 3925 3926 3927 3928 3929 3930 3931 |
# File 'time.c', line 3924
static VALUE
time_subsec(VALUE time)
{
struct time_object *tobj;
GetTimeval(time, tobj);
return quov(w2v(wmod(tobj->timew, WINT2FIXWV(TIME_SCALE))), INT2FIX(TIME_SCALE));
}
|