Ignore:
Timestamp:
03/14/07 19:12:17 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGAccuracy.cc

    r7790 r8376  
    11#include "MGAccuracy.h"
    22
    3 #include <iostream.h>  // cout
     3#include <iostream>  // cout
    44
    55#include <TArc.h>
     
    1616
    1717ClassImp(MGAccuracy);
     18
     19using namespace std;
    1820
    1921void MGAccuracy::DrawText(const char *c1, const char *c2, const char *c3, const char*txt)
     
    163165    dist *= 3600.; // [sec]
    164166
    165     int rs = (int)floor(fmod(dist, 60.));
     167    int rs = TMath::FloorNint(fmod(dist, (float)60.));
    166168
    167169    dist /= 60.;   // [min]
Note: See TracChangeset for help on using the changeset viewer.