Java number formatting: Locale
The tutor continues about number formatting with Java. We don’t live in countries any more; rather, we live in the world. Right now, for instance, my family is off in the US. I’m not with them; I stayed home to …
The tutor continues about number formatting with Java. We don’t live in countries any more; rather, we live in the world. Right now, for instance, my family is off in the US. I’m not with them; I stayed home to …
The tutor continues with the potentially tricky topic of Java decimal formatting. With yesterday’s post I broke the ice about Java DecimalFormat with a short demonstration program. Now, some key points of explanation: The format descriptor string “#,###.00” means …
We’re getting into a serious topic. The tutor rolls up his sleeves. In math, formatting rarely matters. If the correct answer is 0.012, you can answer as 1.2e-2, 3/250, or 0.01200. Most computer environments, like most calculators, give an “unformatted” …
The tutor uses Linux and Windows both, so he tries to cover them equally. In yesterday’s post I explained a way to set a file read-only in Windows. Today, I do so for a Linux system. Linux has many …
The tutor continues his discussion of read-only files. In yesterday’s post I opened the discussion about read-only files – specifically, why one might want to use them. Suppose one did want to use them. How would they go about doing …
The tutor shares a habit he recently began. Let’s imagine writing a large essay or computer program, then reaching a point of satisfaction. You save it to disk, then contentedly go off to celebrate with a visit to a friend, …
The tutor shares his long-standing affinity for this perennial weed. I don’t see “weeds” the same way many others do. Land recently cleared, then left unused, tends to sprout scenic collages that fascinate me. The widely differing colors and structures, …
The tutor switches gears to discuss signs and consequences of spring. As of last Friday, it’s officially spring. Back in my post on January 26, I acknowledged that spring may not come simultaneously to all Canadians. If it hasn’t reached …
The tutor suggests an explanation for the surprise during the Linux test run. In my previous article I reported a surprising finding of how my Java Scanner program reads dollar sign input from the bash command line. Pursuant to …
Java Scanner Linux test run: dollar sign command line arguments Read more »