Learn how to do format numbers in Java.
Also find me here:
Baeldung Author
Yadu Krishnan
I am a software developer with over a decade of experience in building complex systems. My passion for functional programming led me to specialize in Scala. I am always eager to learn new languages, libraries, and technologies to expand my knowledge and abilities. When I'm not coding, I love exploring new places and cultures through solo trips and walks, which helps me to unwind and recharge.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Numbers (3)
- Java String (2)
- Java (2)
- Java Dates (1)
Get Date and Time From a Datetime String in Java
Filed under Java Dates, Java String
Learn how to get date and time from a datetime string in Java.
Building Simple Java Applications with Scala-CLI
Filed under Java
Learn how to build simple Java applications with Scala-CLI.
Perform Action Only if All Optionals Are Available
Filed under Java
Learn how to perform an action only if all optionals are available.
Get 2’s Complement of a Number in Java
Filed under Java Numbers
Learn how to get the 2’s complement of a number in Java.
Exploring Complex Number Arithmetic Operations in Java
Filed under Java Numbers
Learn how to perform complex-number operations in Java.
Get the Initials of a Name in Java
Filed under Java String
Learn how to get the initials of a name in Java.
Baeldung on Scala
- All
- Scala Collections (11)
- Testing (10)
- Scala Strings (9)
- Build Tools (7)
- Scala Numbers (6)
- Scala Basics (6)
- Libraries (6)
- Functional Programming (6)
- Scala Exceptions (3)
- Scala Core (3)
- Scala Concurrency (3)
- Akka (2)
- Scala Type System (1)
- Scala Syntax (1)
- Scala IO (1)
- Scala Dates (1)
Difference Between map() and flatMap() in Scala
Filed under Scala Collections
Learn the differences between map() and flatMap() in Scala
eventually Block In ScalaTest
Filed under Testing
Learn how to use the eventually block in ScalaTest.
Effective Error Handling With EitherT in Scala
Filed under Functional Programming, Scala Exceptions
Learn to do effective error handling with EitherT in Scala.
Different Ways to Calculate the Sum of a List in Scala
Filed under Scala Collections
Learn different ways to calculate the sum of a list in Scala.
Convert Multiple Spaces Into a Single Space in Scala
Filed under Scala Strings
Learn how to convert multiple spaces into a single space in Scala
Remove an Element From a Scala Collection
Filed under Scala Collections
Learn how to remove an element from a Scala collection.
Concatenating Strings in Scala
Filed under Scala Strings
Learn how to concatenate strings in Scala.
Convert From Camel Case to Snake Case in Scala
Filed under Scala Strings
Learn how to convert from camel case to snake case in Scala.
Check if All Characters in a Scala String Are Either Upper or Lower Case
Filed under Scala Strings
Learn how to check if all characters in a Scala string are either upper or lower case.
Baeldung on Computer Science
- All
- Software Architecture (1)
Lexicographically Sortable Identifiers Using ULID
Filed under Software Architecture
Learn to generate identifiers whose lexicographic order preserves the order in which they’re created.
Baeldung on Kotlin
- All
- Kotlin Collections (3)
- Kotlin Numbers (2)
- Kotlin Strings (1)
- Kotlin Dates (1)
- Kotlin Basics (1)
- Kotlin Arrays (1)
- Algorithms (1)
Use of Backticks in Kotlin
Filed under Kotlin Basics
Quick tutorial on using backticks in Kotlin.
Guide to Duration in Kotlin
Filed under Kotlin Dates
Quick tutorial on how to handle time with the Duration class in Kotlin.
Difference Between eachCount() and eachCountTo() Methods in Kotlin
Filed under Kotlin Collections
Quick tutorial for the aggregation operations eachCount() and eachCountTo() in Kotlin.
Extract Numbers From a String in Kotlin
Filed under Kotlin Numbers, Kotlin Strings
Learn how to extract numbers from a Kotlin string.
Convert Double to String Removing Scientific Notation
Filed under Kotlin Numbers
A quick and practical guide to converting Double to String while removing scientific notation.
Convert Array to Set and Vice-Versa in Kotlin
Filed under Kotlin Arrays, Kotlin Collections
In this tutorial, we look at different ways to convert between an array and a set in Kotlin.
any() vs. none() vs. all() in Kotlin
Filed under Kotlin Collections
Learn about the all(), none(), and any() collection methods that enable concise and declarative condition checking.
Check if a Number Is Prime in Kotlin
Filed under Algorithms
A quick and practical guide to checking if a number is prime in Kotlin.
Baeldung on SQL
- All
- SQL Queries (12)
- SQL Tables (5)
- SQL Basics (4)
- SQL Operators (1)
- SQL Functions (1)
- SQL Constraints (1)
- DDL (1)
Find the Default Value of a Column in SQL
Filed under DDL, SQL Tables
Learn how to find columns’ default values in SQL and how they affect data integrity.
What Does Keyword “AS” Do in SQL
Filed under SQL Queries
Learn how to use the AS keyword in SQL queries to rename columns, tables, and subquery results in your queries and enhance the readability and manageability of your SQL code.
Difference Between != and <> for Not Equal in SQL
Filed under SQL Operators
Discover the differeneces between not equal operators in SQL.
Making a Column Nullable in SQL
Filed under SQL Constraints
Learn how to make a column nullable in SQL across PostgreSQL, SQL Server, and MySQL.
Understanding WHERE 1=0 in SQL: When and Why to Use It
Filed under SQL Basics
Discover several useful real-world applications for the WHERE 1=0 clause in SQL: metadata retrieval, query safety, dynamic conditions, and empty table creation.
How to Replace NULL With 0 in SQL
Filed under SQL Basics
Learn cross-compatible and database-specific ways of replacing NULL values with zeros to avoid errors in calculations.
How to Ignore Case While Searching for a String in SQL?
Filed under SQL Queries
Learn several methods to perform case-insensitive search in SQL.
Query to Retrieve Rows With Datetime Column Equal to Today in SQL
Filed under SQL Queries
Learn to filter rows for today’s date.
How to Handle SQL Column Names That Are SQL Keywords?
Filed under SQL Queries
Learn how to use reserved words as column names in SQL.