Quick actions

cmd+k|ctrl+k

Navigation

Languages

Untitled

Snippet info

Language

Cpp

Visibility

unlisted

Author

legacy-anonymous

Created

2016-06-18T15:01:59Z

Updated

2016-06-18T15:01:59Z

#include <iostream>
#include <cmath>
using namespace std;

int main() {
    double x = 12.34;
    cout << "Komma an Position " << floor(log10(x))+1;
    return 0;
}
INFO