Float or double? Vdac #60
-
|
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
As you say, float Vdac = (float)(1.65-(eDc/2.0)); |
Beta Was this translation helpful? Give feedback.
-
|
Hi! |
Beta Was this translation helpful? Give feedback.
-
|
As you say, float Vdac = (float)(1.65-(eDc/2.0)); |
Beta Was this translation helpful? Give feedback.
As you say,
eDcis adoubleandVdacis afloat. Simply, operate witheDcthe relevant formula and, when saving the result in the variableVdac, it will be cast directly tofloat. You can also put it explicitly: