Skip to content

Commit

Permalink
use const
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert committed Mar 21, 2024
1 parent 4f36310 commit 155ad89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <unistd.h>
#include <ctype.h>

#define e 0.08854187812813 // ɛ - electric constant with cm/pF conversion
const long double e = 0.08854187812813; // ɛ - electric constant with cm/pF conversion

double roundval(long double inval)
// round to 2 decimal places
Expand Down

0 comments on commit 155ad89

Please sign in to comment.