if (gainmode) {
lo_message_add_float (msg, gain_to_slider_position (controllable->get_value()));
- text_message ("/select/name", to_string (accurate_coefficient_to_dB (controllable->get_value())));
+ text_message ("/select/name", to_string (accurate_coefficient_to_dB (controllable->get_value()), std::dec));
gain_timeout = 8;
} else {
if (controllable->get_value() < 1e-15) {
#else
value = gain_to_slider_position (controllable->get_value());
#endif
- text_with_id ("/select/send_name" , id + 1, to_string (db));
+ text_with_id ("/select/send_name" , id + 1, to_string (db, std::dec));
if (send_timeout.size() > id) {
send_timeout[id] = 8;
}