# Grails Cookbook Blog

grails.asia
Grails Cookbook is a website that provides tutorials and useful information aboout web development using the Grails framework - one of the most popular framework that runs on the Java platform.

## Double To String With 2 Decimal Places In Java

2019-03-15 16:06
We will now discuss how to convert Java Double To String using 2 Decimal Places, and what are the methods and parameters that can help you acquire it. Although with that knowledge, an integ… Read More

## Double To String Without Exponential Scientific Notation In Java

2019-03-15 16:04
What we will discuss in this topic is another data type which is called double. A good advantage from this data type is its conveniency and precision when it comes to dealing with numbers t… Read More

## Maximum Value Of Integer In Java

2019-03-15 16:02
We've discussed in the previous post that an integer is a data type in Java, and we've determined that it's one of the main tools to use in calculations. Although with this information, it's… Read More

## Maximum Value Of Long In Java

2019-03-15 16:01
In Java, the data type integer is commonly used to calculate numbers. An integer with bigger range of values is efficient for some programs. Which will bring us to bits, an integer can onl… Read More

## Check If String Contains Substringin Java

2019-03-15 16:00
In Java, we can confirm if one String holds a specific substring. For example, we would like to check if the substring "rhapsody" is in the String "Bohemian rhapsody movie". Check out the… Read More

## Read Text File In Java

2019-02-19 18:00
When we are programming, we typically face the scenario where we need to read text files. For example, reading data from a file or reading configuration. There are some long methods, and t… Read More

## Float To Integer In Java

2019-02-19 17:00
For most cases, we wish to work with Float than Integers because floats gives more precision and larger range of values. But sometimes there are reasons why we would want to work with integ… Read More

## Double To Integer In Java

2019-02-19 16:20
Now we use double for it's conviency on calculations and flexibility in precision. Like most of the time, some of us wants to take out the integral part of the output once we are finished w… Read More

## String Replace In Java

2019-02-19 16:10
The Java String Replace is a method which can be applied if there's a new value of character or a String sequence that needs replacement. This method is valuable when you decide changes in… Read More

## Convert Java Float To String With 2 Decimal Place

2019-02-19 16:00
Remember we've discussed about double and integer? Now let's go to java Float, and this topic will cover the conversion of java float to String with 2 Decimal Places. But first, we know that… Read More

Grails Cookbook

×